Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009735/0.0009735, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009225/0.0009225, allocations: 169 kB / 24.28 MB, free: 280 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.9283/0.9283, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.743/1.743, allocations: 377.8 MB / 0.6239 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/3.001e-05, allocations: 14.11 kB / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.00206/0.00209, allocations: 0.8204 MB / 0.8123 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.003649, allocations: 1.21 MB / 0.8135 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.003715, allocations: 0 / 0.8135 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.331e-05/0.003748, allocations: 3.938 kB / 0.8135 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.011e-05/0.003838, allocations: 13.58 kB / 0.8135 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005238/0.004362, allocations: 139.6 kB / 0.8137 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.004574, allocations: 153 kB / 0.8138 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.004694, allocations: 19.98 kB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.004849, allocations: 79.92 kB / 0.8139 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.004962, allocations: 53.45 kB / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.004993, allocations: 12 kB / 0.814 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.563e-05/0.005068, allocations: 23.94 kB / 0.814 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.27e-05/0.005101, allocations: 23.91 kB / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.157e-05/0.005172, allocations: 40.62 kB / 0.814 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.005386, allocations: 119.7 kB / 0.8142 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.005389, allocations: 0.5312 kB / 0.8142 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.653e-06/0.005391, allocations: 0 / 0.8142 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.005395, allocations: 1.656 kB / 0.8142 GB, free: 15.39 MB / 0.7761 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.0005796/0.005975, allocations: 450.1 kB / 0.8146 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.006018, allocations: 8.031 kB / 0.8146 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.404e-05/0.006092, allocations: 17.48 kB / 0.8146 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.006207, allocations: 124.5 kB / 0.8147 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.006228, allocations: 9.625 kB / 0.8147 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.006253, allocations: 8.375 kB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.006434, allocations: 78.92 kB / 0.8148 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.006442, allocations: 1.344 kB / 0.8148 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.006456, allocations: 384 / 0.8148 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.006465, allocations: 384 / 0.8148 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.402e-05/0.006539, allocations: 33.23 kB / 0.8149 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000564/0.007103, allocations: 351.5 kB / 0.8152 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.943e-05/0.007202, allocations: 48.73 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.127e-05/0.007234, allocations: 15.62 kB / 0.8153 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.007244, allocations: 3.984 kB / 0.8153 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/0.007372, allocations: 77.11 kB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.007373, allocations: 1.75 kB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0002322/0.007605, allocations: 77.58 kB / 0.8154 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.007646, allocations: 55.41 kB / 0.8155 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.007767, allocations: 181.9 kB / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.007794, allocations: 29.7 kB / 0.8157 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.007868, allocations: 147.6 kB / 0.8158 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.007889, allocations: 11.91 kB / 0.8158 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.72e-05/0.007966, allocations: 49.62 kB / 0.8159 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.008085, allocations: 0.4883 MB / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.332e-05/0.008178, allocations: 61.67 kB / 0.8164 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.008293, allocations: 126.1 kB / 0.8165 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.0084, allocations: 90.75 kB / 0.8166 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.008403, allocations: 4 kB / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002747/0.008678, allocations: 193.2 kB / 0.8168 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/0.008715, allocations: 33.69 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.008722, allocations: 4 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.008737, allocations: 0.5 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.44e-05/0.008811, allocations: 8.531 kB / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.008818, allocations: 5.844 kB / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.008946, allocations: 35.91 kB / 0.8169 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.008965, allocations: 7.984 kB / 0.8169 GB, free: 12.32 MB / 0.7761 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 9.277e-05/0.009058, allocations: 173.3 kB / 0.817 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.009075, allocations: 7.953 kB / 0.8171 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.009104, allocations: 8.438 kB / 0.8171 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.009105, allocations: 0 / 0.8171 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.00911, allocations: 4 kB / 0.8171 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.009114, allocations: 0 / 0.8171 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.009224, allocations: 137.7 kB / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.009227, allocations: 0 / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-05/0.009264, allocations: 11.92 kB / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.009266, allocations: 0.5312 kB / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.009275, allocations: 0 / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.009277, allocations: 0.8906 kB / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.009281, allocations: 7.984 kB / 0.8172 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.009427, allocations: 117.1 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.009437, allocations: 3.953 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.009458, allocations: 3.531 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.556e-05/0.009494, allocations: 4 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.009546, allocations: 15.97 kB / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.009553, allocations: 4 kB / 0.8174 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.455e-05/0.009607, allocations: 135.2 kB / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.009607, allocations: 0 / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002291/0.009837, allocations: 23.94 kB / 0.8175 GB, free: 11.62 MB / 0.7761 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.000145/0.009982, allocations: 107.2 kB / 0.8176 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002321/0.01021, allocations: 158.8 kB / 0.8178 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01022, allocations: 0 / 0.8178 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.967e-05/0.01027, allocations: 23.88 kB / 0.8178 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.01047, allocations: 21.81 kB / 0.8178 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006003/0.01108, allocations: 183.6 kB / 0.818 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.12e-05/0.01112, allocations: 66.14 kB / 0.818 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.073e-05/0.01115, allocations: 9.016 kB / 0.8181 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.01118, allocations: 13.62 kB / 0.8181 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of SimCode: time 1.292e-06/0.01118, allocations: 0 / 0.8181 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of Templates: time 0.004755/0.01594, allocations: 1.8 MB / 0.8198 GB, free: 9.23 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.89345014304854]