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.001317/0.001317, 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.001525/0.001525, allocations: 169 kB / 23.02 MB, free: 1.551 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.9562/0.9562, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.994/1.994, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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.893e-06/1.893e-06, allocations: 3.938 kB / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.082e-05, allocations: 2.812 kB / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002506/0.002536, allocations: 0.8398 MB / 0.879 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001867/0.004403, allocations: 1.205 MB / 0.8802 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.806e-05/0.004481, allocations: 0.5312 kB / 0.8802 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.661e-05/0.004528, allocations: 7.922 kB / 0.8802 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.004642, allocations: 14.27 kB / 0.8802 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006158/0.005258, allocations: 144.6 kB / 0.8803 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.005494, allocations: 143.7 kB / 0.8804 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.005636, allocations: 29.03 kB / 0.8805 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.005805, allocations: 75.94 kB / 0.8805 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.005928, allocations: 47.86 kB / 0.8806 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.005968, allocations: 17.34 kB / 0.8806 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.451e-05/0.006053, allocations: 23.98 kB / 0.8806 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.116e-05/0.006084, allocations: 15.92 kB / 0.8806 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.173e-05/0.006156, allocations: 48.94 kB / 0.8807 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.006397, allocations: 119.7 kB / 0.8808 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.0064, allocations: 0 / 0.8808 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.252e-06/0.006402, allocations: 1.125 kB / 0.8808 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.006407, allocations: 0 / 0.8808 GB, free: 3.637 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.0006154/0.007023, allocations: 454 kB / 0.8812 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.007065, allocations: 12.62 kB / 0.8813 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.13e-05/0.007137, allocations: 13.7 kB / 0.8813 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.007237, allocations: 120.5 kB / 0.8814 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.007257, allocations: 11.81 kB / 0.8814 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.007284, allocations: 8.375 kB / 0.8814 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.007492, allocations: 82.92 kB / 0.8815 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.007503, allocations: 192 / 0.8815 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.007516, allocations: 384 / 0.8815 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.007527, allocations: 4.375 kB / 0.8815 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.578e-05/0.007603, allocations: 27.86 kB / 0.8815 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.008158, allocations: 351.5 kB / 0.8818 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.008267, allocations: 47.52 kB / 0.8819 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.71e-05/0.008304, allocations: 17.22 kB / 0.8819 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.008315, allocations: 0 / 0.8819 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.008454, allocations: 73.12 kB / 0.882 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.008455, allocations: 0 / 0.882 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002404/0.008696, allocations: 85.56 kB / 0.8821 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.008732, allocations: 51.41 kB / 0.8821 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.008854, allocations: 189.8 kB / 0.8823 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.008884, allocations: 33.7 kB / 0.8823 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.008956, allocations: 138.8 kB / 0.8825 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.008982, allocations: 19.89 kB / 0.8825 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.13e-05/0.009063, allocations: 39.36 kB / 0.8825 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.009202, allocations: 0.4961 MB / 0.883 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.009312, allocations: 57.69 kB / 0.8831 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.009436, allocations: 122.4 kB / 0.8832 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.009572, allocations: 100.7 kB / 0.8833 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.009576, allocations: 4 kB / 0.8833 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003279/0.009904, allocations: 192.9 kB / 0.8835 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.242e-05/0.009947, allocations: 37.7 kB / 0.8835 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.009952, allocations: 0 / 0.8835 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.009972, allocations: 4 kB / 0.8835 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.073e-05/0.01006, allocations: 7.984 kB / 0.8835 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.01007, allocations: 3.938 kB / 0.8835 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.01021, allocations: 31.97 kB / 0.8835 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.01023, allocations: 12 kB / 0.8835 GB, free: 0.5508 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.0001019/0.01033, allocations: 164 kB / 0.8837 GB, free: 392 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.01036, allocations: 11.95 kB / 0.8837 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.958e-05/0.0104, allocations: 16.42 kB / 0.8837 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.0104, allocations: 0 / 0.8837 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.0104, allocations: 0 / 0.8837 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.01041, allocations: 0 / 0.8837 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.01052, allocations: 136.5 kB / 0.8839 GB, free: 188 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.01053, allocations: 7.938 kB / 0.8839 GB, free: 180 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/0.01057, allocations: 4 kB / 0.8839 GB, free: 176 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.01057, allocations: 4 kB / 0.8839 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.01058, allocations: 0 / 0.8839 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.01058, allocations: 0 / 0.8839 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01059, allocations: 0 / 0.8839 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.01073, allocations: 112.2 kB / 0.884 GB, free: 36 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.01074, allocations: 8 kB / 0.884 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.01076, allocations: 0 / 0.884 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.463e-05/0.01081, allocations: 7.984 kB / 0.884 GB, free: 20 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.01086, allocations: 15.98 kB / 0.884 GB, free: 4 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.01087, allocations: 0 / 0.884 GB, free: 4 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.21e-05/0.01094, allocations: 139.2 kB / 0.8841 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01094, allocations: 0 / 0.8841 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002361/0.01118, allocations: 27.89 kB / 0.8842 GB, free: 15.84 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.0001589/0.01134, allocations: 107.3 kB / 0.8843 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002343/0.01157, allocations: 160.8 kB / 0.8844 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01157, allocations: 0 / 0.8844 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.06e-05/0.01162, allocations: 23.81 kB / 0.8844 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.01184, allocations: 21.8 kB / 0.8845 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006192/0.01246, allocations: 190.3 kB / 0.8847 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.615e-05/0.0125, allocations: 59.34 kB / 0.8847 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.049e-05/0.01253, allocations: 4 kB / 0.8847 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.01257, allocations: 16.5 kB / 0.8847 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of SimCode: time 7.02e-07/0.01257, allocations: 4 kB / 0.8847 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of Templates: time 0.003857/0.01643, allocations: 1.789 MB / 0.8865 GB, free: 13.43 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.187527324073017]