Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.001112/0.001112, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001656/0.001656, allocations: 169 kB / 24.06 MB, free: 456 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.9657/0.9657, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.088/2.088, allocations: 429.5 MB / 0.6743 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.069e-05, allocations: 3.375 kB / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001452/0.001473, allocations: 0.8323 MB / 0.8802 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.002598, allocations: 1.201 MB / 0.8814 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.236e-05/0.002651, allocations: 4 kB / 0.8814 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/0.00268, allocations: 8.75 kB / 0.8814 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.589e-05/0.002755, allocations: 9.359 kB / 0.8814 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.003107, allocations: 149.2 kB / 0.8815 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.003257, allocations: 139.8 kB / 0.8817 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.858e-05/0.003345, allocations: 28.41 kB / 0.8817 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.003454, allocations: 81.27 kB / 0.8818 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.783e-05/0.003532, allocations: 39.88 kB / 0.8818 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.003554, allocations: 16 kB / 0.8818 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.323e-05/0.003607, allocations: 27.98 kB / 0.8818 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.635e-05/0.003634, allocations: 24.56 kB / 0.8819 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.126e-05/0.003675, allocations: 39.91 kB / 0.8819 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.003824, allocations: 125.2 kB / 0.882 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.003826, allocations: 0 / 0.882 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003827, allocations: 0 / 0.882 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.003831, allocations: 0 / 0.882 GB, free: 3.336 MB / 0.8386 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.0004092/0.00424, allocations: 451.9 kB / 0.8825 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.00427, allocations: 12.03 kB / 0.8825 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.004312, allocations: 16.89 kB / 0.8825 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.523e-05/0.004387, allocations: 128.4 kB / 0.8826 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.004399, allocations: 7 kB / 0.8826 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.004417, allocations: 12.38 kB / 0.8826 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.004525, allocations: 77.55 kB / 0.8827 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.004531, allocations: 192 / 0.8827 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.004539, allocations: 4.375 kB / 0.8827 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.004546, allocations: 8.359 kB / 0.8827 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.097e-05/0.004577, allocations: 15.92 kB / 0.8827 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.004903, allocations: 324.9 kB / 0.883 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.425e-05/0.004968, allocations: 48.31 kB / 0.8831 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.634e-05/0.004984, allocations: 11.69 kB / 0.8831 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.004991, allocations: 0 / 0.8831 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.796e-05/0.005079, allocations: 81.06 kB / 0.8832 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.00508, allocations: 3.938 kB / 0.8832 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001445/0.005224, allocations: 65.64 kB / 0.8832 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.005254, allocations: 59.41 kB / 0.8833 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.641e-05/0.00533, allocations: 181.8 kB / 0.8835 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.005349, allocations: 29.7 kB / 0.8835 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.005403, allocations: 154.7 kB / 0.8836 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.00542, allocations: 15.89 kB / 0.8837 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.005473, allocations: 43.34 kB / 0.8837 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.005576, allocations: 496.1 kB / 0.8842 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.48e-05/0.00563, allocations: 57.67 kB / 0.8842 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.001e-05/0.00571, allocations: 126.4 kB / 0.8844 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/0.006043, allocations: 88.67 kB / 0.8844 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.006048, allocations: 7.938 kB / 0.8844 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000176/0.006224, allocations: 177 kB / 0.8846 GB, free: 432 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.006252, allocations: 37.69 kB / 0.8846 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.006256, allocations: 0 / 0.8846 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.006265, allocations: 4 kB / 0.8847 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.36e-05/0.006319, allocations: 8.094 kB / 0.8847 GB, free: 376 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-06/0.006321, allocations: 0 / 0.8847 GB, free: 376 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.046e-05/0.006412, allocations: 35.91 kB / 0.8847 GB, free: 340 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.006424, allocations: 4 kB / 0.8847 GB, free: 336 kB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 7.148e-05/0.006495, allocations: 168.5 kB / 0.8849 GB, free: 156 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.006509, allocations: 11.89 kB / 0.8849 GB, free: 144 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.287e-05/0.006532, allocations: 12.44 kB / 0.8849 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.006534, allocations: 0 / 0.8849 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.006535, allocations: 4 kB / 0.8849 GB, free: 124 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.006538, allocations: 0 / 0.8849 GB, free: 124 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.648e-05/0.006635, allocations: 113.3 kB / 0.885 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.006636, allocations: 3.938 kB / 0.885 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.309e-05/0.006659, allocations: 4 kB / 0.885 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.006661, allocations: 3.938 kB / 0.885 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.006667, allocations: 0 / 0.885 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.006668, allocations: 7.938 kB / 0.885 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.006668, allocations: 0 / 0.885 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.684e-05/0.006765, allocations: 104.4 kB / 0.8851 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-06/0.006773, allocations: 7.938 kB / 0.8851 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.006786, allocations: 4 kB / 0.8851 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.647e-05/0.006812, allocations: 7.984 kB / 0.8851 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.006847, allocations: 15.92 kB / 0.8851 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.006852, allocations: 4 kB / 0.8852 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.832e-05/0.00689, allocations: 131.2 kB / 0.8853 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.00689, allocations: 0 / 0.8853 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001536/0.007044, allocations: 31.89 kB / 0.8853 GB, free: 15.64 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 0.0001041/0.007148, allocations: 99.23 kB / 0.8854 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.007294, allocations: 160.8 kB / 0.8856 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.007296, allocations: 0 / 0.8856 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.065e-05/0.007327, allocations: 23.67 kB / 0.8856 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.007469, allocations: 12.59 kB / 0.8856 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.007852, allocations: 182.3 kB / 0.8858 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.985e-05/0.007882, allocations: 63.34 kB / 0.8858 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.429e-05/0.007906, allocations: 12.06 kB / 0.8858 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.505e-05/0.007991, allocations: 94.17 kB / 0.8859 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of SimCode: time 6.11e-07/0.007992, allocations: 0 / 0.8859 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of Templates: time 0.003292/0.01128, allocations: 1.999 MB / 0.8879 GB, free: 12.96 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.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: 5.105867711827159]