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.001864/0.001864, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.001991/0.001991, allocations: 161.7 kB / 23.55 MB, free: 0.8789 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.53/1.53, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 2.979/2.979, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 176] 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 2.034e-06/2.034e-06, allocations: 0 / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.675e-05/3.878e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.003381/0.00342, allocations: 0.8174 MB / 0.8116 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003045/0.006465, allocations: 1.18 MB / 0.8127 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.674e-05/0.006542, allocations: 0 / 0.8127 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.236e-05/0.006584, allocations: 3.938 kB / 0.8128 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.006712, allocations: 13.34 kB / 0.8128 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008224/0.007534, allocations: 144.2 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003446/0.007879, allocations: 147.5 kB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.008018, allocations: 25.56 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002384/0.008256, allocations: 83.86 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.008412, allocations: 39.94 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.138e-05/0.008463, allocations: 16 kB / 0.8132 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.008584, allocations: 24.86 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.008639, allocations: 23.91 kB / 0.8132 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.008752, allocations: 40.69 kB / 0.8133 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004486/0.0092, allocations: 175.5 kB / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.009205, allocations: 0.5938 kB / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.164e-06/0.009207, allocations: 0 / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.331e-06/0.009213, allocations: 0.5938 kB / 0.8135 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.001068/0.01028, allocations: 454.5 kB / 0.8139 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.01033, allocations: 12.03 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.01043, allocations: 18.05 kB / 0.8139 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.0106, allocations: 116.5 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.01063, allocations: 12.36 kB / 0.814 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.01067, allocations: 9.75 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.01099, allocations: 86.16 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.011, allocations: 192 / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.01102, allocations: 2.125 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.01103, allocations: 384 / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000294/0.01132, allocations: 55.91 kB / 0.8142 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009247/0.01224, allocations: 372.2 kB / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.01249, allocations: 55.77 kB / 0.8146 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.01263, allocations: 27.69 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.01266, allocations: 4.641 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003019/0.01296, allocations: 85.59 kB / 0.8147 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.01296, allocations: 4.5 kB / 0.8147 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0006118/0.01357, allocations: 111 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.01364, allocations: 51.41 kB / 0.8149 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.01391, allocations: 189.9 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.506e-05/0.01396, allocations: 36.27 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.01413, allocations: 146.8 kB / 0.8152 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.01417, allocations: 15.89 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.01434, allocations: 55.34 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003937/0.01473, allocations: 0.4922 MB / 0.8158 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/0.01504, allocations: 81.67 kB / 0.8158 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003938/0.01543, allocations: 158.6 kB / 0.816 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004218/0.01585, allocations: 118 kB / 0.8161 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.01586, allocations: 0 / 0.8161 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007981/0.01665, allocations: 234.6 kB / 0.8163 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.904e-05/0.01672, allocations: 33.69 kB / 0.8164 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.01673, allocations: 4.719 kB / 0.8164 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.01675, allocations: 0 / 0.8164 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.01687, allocations: 12.97 kB / 0.8164 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.01687, allocations: 0 / 0.8164 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.0172, allocations: 33.03 kB / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.01723, allocations: 4 kB / 0.8164 GB, free: 12.08 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 0.0002169/0.01745, allocations: 173.3 kB / 0.8166 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.01749, allocations: 11.95 kB / 0.8166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.917e-05/0.01754, allocations: 14.66 kB / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01754, allocations: 0 / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.01754, allocations: 0 / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01755, allocations: 3.938 kB / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.01781, allocations: 144.9 kB / 0.8168 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.01782, allocations: 7.984 kB / 0.8168 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.655e-05/0.0179, allocations: 14.73 kB / 0.8168 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.0179, allocations: 4 kB / 0.8168 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.01791, allocations: 0 / 0.8168 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01791, allocations: 0 / 0.8168 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01791, allocations: 0 / 0.8168 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004443/0.01836, allocations: 128.3 kB / 0.8169 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.213e-05/0.01838, allocations: 9.516 kB / 0.8169 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.01843, allocations: 7.984 kB / 0.8169 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.01e-05/0.01852, allocations: 4 kB / 0.8169 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.716e-05/0.0186, allocations: 15.97 kB / 0.8169 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.01862, allocations: 4.625 kB / 0.8169 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001475/0.01877, allocations: 135.6 kB / 0.8171 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.21e-07/0.01877, allocations: 5.031 kB / 0.8171 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004308/0.0192, allocations: 27.94 kB / 0.8171 GB, free: 11.32 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.000261/0.01946, allocations: 107.9 kB / 0.8172 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006879/0.02015, allocations: 206.6 kB / 0.8174 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.02015, allocations: 0 / 0.8174 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.02036, allocations: 39.61 kB / 0.8174 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.02072, allocations: 22.95 kB / 0.8175 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006415/0.02136, allocations: 186.8 kB / 0.8176 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.02148, allocations: 82.2 kB / 0.8177 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.28e-05/0.02154, allocations: 4.719 kB / 0.8177 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.881e-05/0.02159, allocations: 12.25 kB / 0.8177 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.02159, allocations: 4 kB / 0.8177 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of Templates: time 0.008778/0.03037, allocations: 1.792 MB / 0.8195 GB, free: 8.867 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.884122467017733]