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.0009594/0.0009594, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.001001/0.001001, allocations: 177 kB / 24.08 MB, free: 416 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.9334/0.9334, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.815/1.815, allocations: 377.9 MB / 0.6239 GB, free: 8.379 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.473e-06/1.473e-06, allocations: 0 / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.538e-05, allocations: 2.312 kB / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001379/0.001394, allocations: 0.8272 MB / 0.8128 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.002588, allocations: 1.199 MB / 0.814 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.842e-05/0.002637, allocations: 4 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.002664, allocations: 9.391 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.43e-05/0.002738, allocations: 7.875 kB / 0.814 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.003077, allocations: 148.1 kB / 0.8141 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.003213, allocations: 144.3 kB / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.369e-05/0.003297, allocations: 25 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.003405, allocations: 83.86 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.135e-05/0.003476, allocations: 35.94 kB / 0.8144 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.003499, allocations: 24.59 kB / 0.8144 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.109e-05/0.00355, allocations: 27.98 kB / 0.8145 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.359e-05/0.003574, allocations: 18.39 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.003613, allocations: 43.89 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.00375, allocations: 115.7 kB / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003752, allocations: 0 / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.42e-07/0.003753, allocations: 0 / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.317e-06/0.003756, allocations: 0 / 0.8146 GB, free: 14.75 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.0004119/0.004168, allocations: 451.3 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.004201, allocations: 16.02 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.004236, allocations: 12.89 kB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.808e-05/0.004304, allocations: 122.1 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.004316, allocations: 16.31 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.00433, allocations: 8.375 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.004432, allocations: 70.92 kB / 0.8153 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.004439, allocations: 5.875 kB / 0.8153 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.004446, allocations: 4.375 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.004451, allocations: 4.375 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.271e-05/0.004484, allocations: 25.98 kB / 0.8153 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000311/0.004795, allocations: 329.1 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.041e-05/0.004855, allocations: 43.45 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.004874, allocations: 19.77 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-06/0.004881, allocations: 0.5938 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.187e-05/0.004953, allocations: 65.58 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.004955, allocations: 1.219 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0001346/0.005089, allocations: 81.56 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.005117, allocations: 51.41 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.252e-05/0.005189, allocations: 178.4 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.005206, allocations: 33.7 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.00526, allocations: 148.2 kB / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.005274, allocations: 15.89 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.005322, allocations: 39.36 kB / 0.8163 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.005436, allocations: 0.4923 MB / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.928e-05/0.005485, allocations: 54.84 kB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.762e-05/0.005553, allocations: 118.1 kB / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.389e-05/0.005617, allocations: 85.72 kB / 0.817 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.005619, allocations: 7.938 kB / 0.817 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001567/0.005776, allocations: 189.9 kB / 0.8172 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.005802, allocations: 34.66 kB / 0.8172 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.005807, allocations: 4 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.005815, allocations: 0 / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.571e-05/0.005861, allocations: 12.78 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.005864, allocations: 0 / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.009e-05/0.005944, allocations: 32.75 kB / 0.8173 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.005955, allocations: 9.219 kB / 0.8173 GB, free: 11.75 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 7.084e-05/0.006025, allocations: 168.5 kB / 0.8175 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.006036, allocations: 12.78 kB / 0.8175 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.006056, allocations: 8.438 kB / 0.8175 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.006057, allocations: 1.156 kB / 0.8175 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.006058, allocations: 0 / 0.8175 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.006062, allocations: 0 / 0.8175 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.919e-05/0.006131, allocations: 114.6 kB / 0.8176 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.006132, allocations: 0 / 0.8176 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.841e-05/0.00615, allocations: 8.297 kB / 0.8176 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.006153, allocations: 3.938 kB / 0.8176 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.006159, allocations: 9.469 kB / 0.8176 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.00616, allocations: 80 / 0.8176 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.006162, allocations: 3.984 kB / 0.8176 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.55e-05/0.006247, allocations: 108.3 kB / 0.8177 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-06/0.006255, allocations: 14.75 kB / 0.8177 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.006267, allocations: 4 kB / 0.8177 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.091e-05/0.006287, allocations: 4 kB / 0.8177 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.006326, allocations: 15.97 kB / 0.8178 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.006329, allocations: 0 / 0.8178 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.558e-05/0.006365, allocations: 131.6 kB / 0.8179 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006365, allocations: 0 / 0.8179 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001339/0.006499, allocations: 28.44 kB / 0.8179 GB, free: 11.07 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 8.836e-05/0.006587, allocations: 105.2 kB / 0.818 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001361/0.006723, allocations: 152.7 kB / 0.8182 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.91e-07/0.006724, allocations: 0 / 0.8182 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.927e-05/0.006754, allocations: 28.2 kB / 0.8182 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001192/0.006873, allocations: 12.97 kB / 0.8182 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.007215, allocations: 183.6 kB / 0.8184 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.846e-05/0.007244, allocations: 65.61 kB / 0.8184 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.89e-05/0.007263, allocations: 4 kB / 0.8184 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.827e-05/0.007351, allocations: 94.19 kB / 0.8185 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.007351, allocations: 6.656 kB / 0.8185 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of Templates: time 0.002999/0.01035, allocations: 1.956 MB / 0.8204 GB, free: 8.465 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.89657689910382]