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.001834/0.001834, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002193/0.002193, allocations: 157.6 kB / 22.75 MB, free: 1.684 MB / 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 1.478/1.478, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 3.154/3.154, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] 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 4.789e-06/4.789e-06, allocations: 4 kB / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.821e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002351/0.00238, allocations: 0.8045 MB / 0.8784 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001876/0.004256, allocations: 1.18 MB / 0.8795 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.896e-05/0.004315, allocations: 0 / 0.8795 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.257e-05/0.004357, allocations: 11.86 kB / 0.8795 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.964e-05/0.004447, allocations: 14.12 kB / 0.8795 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005093/0.004956, allocations: 143.5 kB / 0.8797 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.005193, allocations: 139.7 kB / 0.8798 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.005305, allocations: 25.56 kB / 0.8798 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.005468, allocations: 83.86 kB / 0.8799 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.005574, allocations: 43.88 kB / 0.88 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.005608, allocations: 12 kB / 0.88 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.538e-05/0.005693, allocations: 34.03 kB / 0.88 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.799e-05/0.005721, allocations: 15.94 kB / 0.88 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.11e-05/0.005802, allocations: 43.95 kB / 0.8801 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.006076, allocations: 175.5 kB / 0.8802 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.006079, allocations: 3.938 kB / 0.8802 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.92e-07/0.00608, allocations: 0 / 0.8802 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.006083, allocations: 2.469 kB / 0.8802 GB, free: 3.789 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.0007259/0.006809, allocations: 351.7 kB / 0.8806 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.006846, allocations: 8.031 kB / 0.8806 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.832e-05/0.006924, allocations: 20.89 kB / 0.8806 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.007053, allocations: 117.7 kB / 0.8807 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.007078, allocations: 13.09 kB / 0.8807 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.007106, allocations: 8.375 kB / 0.8807 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.007357, allocations: 95.8 kB / 0.8808 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.007365, allocations: 192 / 0.8808 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.007377, allocations: 384 / 0.8808 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.007381, allocations: 384 / 0.8808 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002359/0.007617, allocations: 65.22 kB / 0.8809 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005674/0.008184, allocations: 300.2 kB / 0.8812 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.008362, allocations: 50.55 kB / 0.8812 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.008475, allocations: 32.92 kB / 0.8813 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.008488, allocations: 4 kB / 0.8813 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002602/0.008749, allocations: 83.31 kB / 0.8813 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.00875, allocations: 0 / 0.8813 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.000483/0.009233, allocations: 129.6 kB / 0.8815 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.009287, allocations: 59.39 kB / 0.8815 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.009414, allocations: 121.7 kB / 0.8816 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.009455, allocations: 33.7 kB / 0.8817 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.368e-05/0.009548, allocations: 100.1 kB / 0.8818 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.009574, allocations: 15.89 kB / 0.8818 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.136e-05/0.009665, allocations: 41.69 kB / 0.8818 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.009846, allocations: 322.8 kB / 0.8821 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.01005, allocations: 89.59 kB / 0.8822 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/0.01029, allocations: 138.7 kB / 0.8823 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.01059, allocations: 112.2 kB / 0.8824 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01059, allocations: 0 / 0.8824 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005329/0.01112, allocations: 233 kB / 0.8827 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.988e-05/0.01117, allocations: 41.69 kB / 0.8827 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.01118, allocations: 0 / 0.8827 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.0112, allocations: 4 kB / 0.8827 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.432e-05/0.01128, allocations: 4 kB / 0.8827 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.01129, allocations: 3.984 kB / 0.8827 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.01154, allocations: 43.84 kB / 0.8828 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.01156, allocations: 8 kB / 0.8828 GB, free: 0.9492 MB / 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 0.0001224/0.01169, allocations: 129.2 kB / 0.8829 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.01171, allocations: 11.95 kB / 0.8829 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.635e-05/0.01175, allocations: 12.42 kB / 0.8829 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01175, allocations: 0 / 0.8829 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.01175, allocations: 0 / 0.8829 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.01176, allocations: 0 / 0.8829 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.01191, allocations: 137.2 kB / 0.883 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01191, allocations: 4.25 kB / 0.8831 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.305e-05/0.01198, allocations: 4 kB / 0.8831 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.01198, allocations: 8 kB / 0.8831 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.01199, allocations: 7.984 kB / 0.8831 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.012, allocations: 0 / 0.8831 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.012, allocations: 0 / 0.8831 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.01231, allocations: 129 kB / 0.8832 GB, free: 468 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-06/0.01232, allocations: 0 / 0.8832 GB, free: 468 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.01234, allocations: 4 kB / 0.8832 GB, free: 464 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.121e-05/0.01243, allocations: 7.984 kB / 0.8832 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.01248, allocations: 11.98 kB / 0.8832 GB, free: 444 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.01249, allocations: 8 kB / 0.8832 GB, free: 436 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.31e-05/0.01257, allocations: 91.27 kB / 0.8833 GB, free: 344 kB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01257, allocations: 3.938 kB / 0.8833 GB, free: 340 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002443/0.01281, allocations: 39.83 kB / 0.8834 GB, free: 300 kB / 0.8386 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.0001589/0.01297, allocations: 99.23 kB / 0.8834 GB, free: 192 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004664/0.01344, allocations: 181.1 kB / 0.8836 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01344, allocations: 8.125 kB / 0.8836 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.01357, allocations: 35.86 kB / 0.8837 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.01379, allocations: 11.94 kB / 0.8837 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004152/0.0142, allocations: 180.7 kB / 0.8838 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.647e-05/0.01429, allocations: 75.33 kB / 0.8839 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.597e-05/0.01432, allocations: 4 kB / 0.8839 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.174e-05/0.01437, allocations: 16.5 kB / 0.8839 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of SimCode: time 3.81e-07/0.01437, allocations: 0 / 0.8839 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of Templates: time 0.005333/0.0197, allocations: 1.795 MB / 0.8857 GB, free: 13.88 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.963082812959328]