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.001485/0.001485, allocations: 92.22 kB / 19.65 MB, free: 276 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.001892/0.001892, allocations: 173 kB / 23.02 MB, free: 1.547 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 0.9059/0.9059, allocations: 177.1 MB / 203.4 MB, free: 5.613 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 1.915/1.915, allocations: 429.5 MB / 0.6733 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 178] 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.212e-06/1.212e-06, allocations: 0 / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.125e-05, allocations: 3.562 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001403/0.001424, allocations: 0.8364 MB / 0.879 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.002809, allocations: 1.203 MB / 0.8802 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.278e-05/0.002862, allocations: 4.5 kB / 0.8802 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.002895, allocations: 7.875 kB / 0.8802 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.082e-05/0.002976, allocations: 17.11 kB / 0.8802 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.003372, allocations: 140.4 kB / 0.8803 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000161/0.003533, allocations: 147.7 kB / 0.8805 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.679e-05/0.00363, allocations: 25.31 kB / 0.8805 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.003737, allocations: 75.89 kB / 0.8806 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.925e-05/0.003816, allocations: 47.86 kB / 0.8806 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.00384, allocations: 17.44 kB / 0.8806 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.689e-05/0.003897, allocations: 23.98 kB / 0.8806 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.003921, allocations: 19.97 kB / 0.8807 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.145e-05/0.003973, allocations: 39.91 kB / 0.8807 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.004131, allocations: 125.1 kB / 0.8808 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.004134, allocations: 0 / 0.8808 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.092e-06/0.004135, allocations: 0 / 0.8808 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.004139, allocations: 0 / 0.8808 GB, free: 3.617 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.0004681/0.004607, allocations: 451.3 kB / 0.8813 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.004642, allocations: 12.03 kB / 0.8813 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.004698, allocations: 12.89 kB / 0.8813 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.919e-05/0.004777, allocations: 123.8 kB / 0.8814 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.004792, allocations: 12.36 kB / 0.8814 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.00481, allocations: 8.375 kB / 0.8814 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.004944, allocations: 86.86 kB / 0.8815 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.004951, allocations: 192 / 0.8815 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.004963, allocations: 8.375 kB / 0.8815 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.004969, allocations: 384 / 0.8815 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.422e-05/0.005014, allocations: 19.92 kB / 0.8815 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.005409, allocations: 356 kB / 0.8819 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.65e-05/0.005486, allocations: 43.06 kB / 0.8819 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.494e-05/0.005511, allocations: 15.77 kB / 0.8819 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.423e-06/0.005518, allocations: 0 / 0.8819 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.003e-05/0.005608, allocations: 72.98 kB / 0.882 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.005609, allocations: 0 / 0.882 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001796/0.005789, allocations: 77.62 kB / 0.8821 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.005822, allocations: 59.41 kB / 0.8821 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.433e-05/0.005906, allocations: 182.2 kB / 0.8823 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.005926, allocations: 29.7 kB / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.005982, allocations: 150.8 kB / 0.8825 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.005998, allocations: 11.91 kB / 0.8825 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.322e-05/0.006051, allocations: 43.36 kB / 0.8825 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.006155, allocations: 0.4922 MB / 0.883 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.157e-05/0.006227, allocations: 65.61 kB / 0.8831 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.271e-05/0.00631, allocations: 122.4 kB / 0.8832 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.855e-05/0.006388, allocations: 84.75 kB / 0.8833 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.006391, allocations: 4 kB / 0.8833 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001922/0.006583, allocations: 204.9 kB / 0.8835 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.006609, allocations: 37.69 kB / 0.8835 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.006614, allocations: 0 / 0.8835 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.006627, allocations: 7.938 kB / 0.8835 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.146e-05/0.006688, allocations: 4 kB / 0.8835 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.006693, allocations: 0 / 0.8835 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.295e-05/0.006786, allocations: 35.91 kB / 0.8835 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.006799, allocations: 4 kB / 0.8835 GB, free: 0.543 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 7.386e-05/0.006873, allocations: 176.4 kB / 0.8837 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.006886, allocations: 11.95 kB / 0.8837 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.353e-05/0.00691, allocations: 8.438 kB / 0.8837 GB, free: 348 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.006912, allocations: 0 / 0.8837 GB, free: 348 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.006915, allocations: 0 / 0.8837 GB, free: 348 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.006918, allocations: 0 / 0.8837 GB, free: 348 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.146e-05/0.006999, allocations: 140.5 kB / 0.8839 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.007001, allocations: 3.938 kB / 0.8839 GB, free: 168 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.955e-05/0.00702, allocations: 4 kB / 0.8839 GB, free: 164 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.007022, allocations: 0 / 0.8839 GB, free: 164 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.00703, allocations: 3.984 kB / 0.8839 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.007031, allocations: 4 kB / 0.8839 GB, free: 156 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007032, allocations: 0 / 0.8839 GB, free: 156 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.544e-05/0.007127, allocations: 108.3 kB / 0.884 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-06/0.007135, allocations: 7.984 kB / 0.884 GB, free: 16 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.007152, allocations: 3.984 kB / 0.884 GB, free: 12 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.331e-05/0.007175, allocations: 4 kB / 0.884 GB, free: 8 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.007233, allocations: 16.05 kB / 0.884 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.007239, allocations: 4 kB / 0.884 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.07e-05/0.00728, allocations: 139.2 kB / 0.8842 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.00728, allocations: 3.938 kB / 0.8842 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000143/0.007423, allocations: 31.89 kB / 0.8842 GB, free: 15.81 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.0001078/0.007531, allocations: 103.2 kB / 0.8843 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001751/0.007706, allocations: 152.9 kB / 0.8844 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.007707, allocations: 0 / 0.8844 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.603e-05/0.007743, allocations: 31.61 kB / 0.8845 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.007889, allocations: 23.95 kB / 0.8845 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004506/0.008339, allocations: 186.4 kB / 0.8847 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.022e-05/0.00837, allocations: 59.34 kB / 0.8847 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.592e-05/0.008395, allocations: 7.984 kB / 0.8847 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.008423, allocations: 12.5 kB / 0.8847 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of SimCode: time 8.01e-07/0.008424, allocations: 0 / 0.8847 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of Templates: time 0.003413/0.01184, allocations: 1.944 MB / 0.8866 GB, free: 13.26 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: 4.8818694916553795]