Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000928/0.000928, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009714/0.0009714, allocations: 161.4 kB / 24.16 MB, free: 336 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9449/0.9449, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.893/1.893, allocations: 377.9 MB / 0.624 GB, free: 8.328 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.642e-05, allocations: 2.969 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.00131/0.001327, allocations: 0.7779 MB / 0.7608 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008925/0.002219, allocations: 0.9163 MB / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.686e-05/0.002266, allocations: 0 / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.159e-05/0.002297, allocations: 7.875 kB / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.753e-05/0.002385, allocations: 11.8 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.00254, allocations: 44.36 kB / 0.7617 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.002645, allocations: 87.06 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.496e-05/0.00273, allocations: 23.91 kB / 0.7618 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.002832, allocations: 51.23 kB / 0.7619 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.926e-05/0.002901, allocations: 42.98 kB / 0.7619 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.002927, allocations: 8.688 kB / 0.7619 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.00294, allocations: 8 kB / 0.762 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/0.002963, allocations: 20.59 kB / 0.762 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.619e-05/0.002989, allocations: 24.47 kB / 0.762 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.003092, allocations: 72.83 kB / 0.7621 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.003094, allocations: 0 / 0.7621 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003095, allocations: 0 / 0.7621 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.003099, allocations: 0.9375 kB / 0.7621 GB, free: 4.566 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003481/0.003447, allocations: 276.7 kB / 0.7623 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.00348, allocations: 9.281 kB / 0.7623 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.003511, allocations: 8.938 kB / 0.7623 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.981e-05/0.003601, allocations: 117.7 kB / 0.7625 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.003621, allocations: 13.58 kB / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.003636, allocations: 8.312 kB / 0.7625 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.003782, allocations: 92.14 kB / 0.7626 GB, free: 4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.003791, allocations: 3.938 kB / 0.7626 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.003802, allocations: 7.938 kB / 0.7626 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.003807, allocations: 1.031 kB / 0.7626 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.465e-05/0.003852, allocations: 27.61 kB / 0.7626 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002826/0.004134, allocations: 192.7 kB / 0.7628 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.004352, allocations: 67.97 kB / 0.7629 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.00438, allocations: 14.08 kB / 0.7629 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.004397, allocations: 3.984 kB / 0.7629 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.004421, allocations: 38.56 kB / 0.7629 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/0.004423, allocations: 1.5 kB / 0.7629 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001473/0.00457, allocations: 65.66 kB / 0.763 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.004601, allocations: 51.41 kB / 0.763 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.389e-05/0.004665, allocations: 127.1 kB / 0.7631 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.004678, allocations: 29.7 kB / 0.7632 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.004711, allocations: 92.86 kB / 0.7633 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.00489, allocations: 19.8 kB / 0.7633 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.004925, allocations: 26.44 kB / 0.7633 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.535e-05/0.005, allocations: 322.8 kB / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.755e-05/0.005018, allocations: 4.812 kB / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.877e-05/0.005037, allocations: 9.375 kB / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.827e-05/0.005085, allocations: 28.83 kB / 0.7637 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.005088, allocations: 3.938 kB / 0.7637 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.261e-05/0.005161, allocations: 62.31 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.005172, allocations: 5.844 kB / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.005176, allocations: 3.938 kB / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.00519, allocations: 0 / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.338e-05/0.005263, allocations: 23.92 kB / 0.7638 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.005266, allocations: 4.547 kB / 0.7638 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.43e-05/0.005301, allocations: 10.42 kB / 0.7638 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.005306, allocations: 0 / 0.7638 GB, free: 2.691 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.442e-05/0.00537, allocations: 117.8 kB / 0.7639 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.005387, allocations: 7.984 kB / 0.7639 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.005492, allocations: 76.42 kB / 0.764 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.005493, allocations: 0 / 0.764 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.005494, allocations: 0 / 0.764 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.005497, allocations: 0 / 0.764 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.662e-05/0.005594, allocations: 97.75 kB / 0.7641 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.005596, allocations: 4 kB / 0.7641 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.727e-05/0.005643, allocations: 17.02 kB / 0.7641 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.005646, allocations: 3.938 kB / 0.7641 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.005651, allocations: 4 kB / 0.7641 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.005652, allocations: 0.9375 kB / 0.7641 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.005653, allocations: 0 / 0.7641 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.292e-05/0.005745, allocations: 156.1 kB / 0.7642 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.172e-05/0.005757, allocations: 14.7 kB / 0.7642 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.005768, allocations: 4 kB / 0.7642 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.432e-05/0.005813, allocations: 7.938 kB / 0.7643 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.005862, allocations: 19.97 kB / 0.7643 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.005869, allocations: 7.984 kB / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.666e-05/0.005885, allocations: 16.86 kB / 0.7643 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.005885, allocations: 0 / 0.7643 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001206/0.006006, allocations: 19.02 kB / 0.7643 GB, free: 2.086 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.365e-05/0.006079, allocations: 76.42 kB / 0.7644 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.246e-05/0.006162, allocations: 36.83 kB / 0.7644 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.006164, allocations: 0 / 0.7644 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.761e-05/0.006201, allocations: 28.78 kB / 0.7645 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.006337, allocations: 17.67 kB / 0.7645 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.006593, allocations: 172.9 kB / 0.7646 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.15e-05/0.006624, allocations: 60.34 kB / 0.7647 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.945e-05/0.006664, allocations: 19.08 kB / 0.7647 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.217e-05/0.006736, allocations: 67.98 kB / 0.7648 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of SimCode: time 4.71e-07/0.006736, allocations: 0 / 0.7648 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of Templates: time 0.002938/0.009674, allocations: 1.703 MB / 0.7664 GB, free: 15.94 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.99490307783708]