Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.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.0009431/0.0009431, allocations: 82.64 kB / 20.68 MB, free: 3.82 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.0009321/0.0009321, allocations: 181 kB / 24.09 MB, free: 420 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.9594/0.9594, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.828/1.828, allocations: 377.9 MB / 0.6239 GB, free: 8.398 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.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.[0-9,]+.|tanSta.THig|tanSta.TLow|tanSta.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.[0-9,]+.|tanSta.THig|tanSta.TLow|tanSta.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.579e-05, allocations: 6.25 kB / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.002869/0.002895, allocations: 2.224 MB / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.004481, allocations: 1.384 MB / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.004604, allocations: 9.281 kB / 0.8155 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.004952, allocations: 172.7 kB / 0.8157 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005835/0.005536, allocations: 230.9 kB / 0.8159 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.005923, allocations: 197 kB / 0.8161 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005768/0.006499, allocations: 430.8 kB / 0.8165 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.006697, allocations: 65.53 kB / 0.8166 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008612/0.007559, allocations: 312.5 kB / 0.8169 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.007787, allocations: 160.5 kB / 0.817 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.007824, allocations: 24 kB / 0.8171 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.007975, allocations: 80.38 kB / 0.8171 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.008078, allocations: 116.2 kB / 0.8172 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.805e-05/0.008156, allocations: 95.64 kB / 0.8173 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.008569, allocations: 327.2 kB / 0.8176 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.008573, allocations: 5.25 kB / 0.8177 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.072e-06/0.008574, allocations: 0 / 0.8177 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.008579, allocations: 0 / 0.8177 GB, free: 11.7 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007459/0.009325, allocations: 0.7573 MB / 0.8184 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.009361, allocations: 8.031 kB / 0.8184 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.352e-05/0.009434, allocations: 56.66 kB / 0.8185 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.009754, allocations: 334.5 kB / 0.8188 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.009775, allocations: 8.375 kB / 0.8188 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.009794, allocations: 16.38 kB / 0.8188 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.01001, allocations: 184.6 kB / 0.819 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.01002, allocations: 3.938 kB / 0.819 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.01003, allocations: 4.844 kB / 0.819 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.01003, allocations: 4 kB / 0.819 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.724e-05/0.01009, allocations: 36.75 kB / 0.819 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006545/0.01074, allocations: 0.7371 MB / 0.8197 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.01089, allocations: 103.2 kB / 0.8198 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.69e-05/0.01092, allocations: 36.5 kB / 0.8199 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.01094, allocations: 0 / 0.8199 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.01108, allocations: 121.6 kB / 0.82 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 9.31e-07/0.01108, allocations: 0 / 0.82 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.000241/0.01132, allocations: 169.3 kB / 0.8202 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.01136, allocations: 112.3 kB / 0.8203 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.01167, allocations: 474.4 kB / 0.8207 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.01169, allocations: 33.7 kB / 0.8207 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.01182, allocations: 271.1 kB / 0.821 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.01185, allocations: 42.56 kB / 0.821 GB, free: 8 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.2e-05/0.01193, allocations: 83.3 kB / 0.8211 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.01208, allocations: 0.5352 MB / 0.8216 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.346e-05/0.01213, allocations: 32.08 kB / 0.8217 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.01226, allocations: 192.3 kB / 0.8219 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.01242, allocations: 120.9 kB / 0.822 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.01242, allocations: 0.5 kB / 0.822 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002949/0.01272, allocations: 225.4 kB / 0.8222 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.01273, allocations: 7.938 kB / 0.8222 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.01274, allocations: 4 kB / 0.8222 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.01275, allocations: 0.9062 kB / 0.8222 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.01287, allocations: 51.91 kB / 0.8223 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.01288, allocations: 4 kB / 0.8223 GB, free: 6.672 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.632e-05/0.01296, allocations: 29.16 kB / 0.8223 GB, free: 6.645 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.01298, allocations: 11.98 kB / 0.8223 GB, free: 6.633 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.TTanBot.tab.nextTimeEvent,$whenCondition2,$PRE.TTanTop.tab.nextTimeEvent,$whenCondition1,tanSta.gre.y,TTanBot.tab.nextTimeEventScaled,$PRE.TTanBot.tab.nextTimeEventScaled,TTanBot.tab.nextTimeEvent,tanSta.hysEmp.y,$PRE.tanSta.hysEmp.y,TTanTop.tab.nextTimeEventScaled,$PRE.TTanTop.tab.nextTimeEventScaled,TTanTop.tab.nextTimeEvent,tanSta.hysCha.y,$PRE.tanSta.hysCha.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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.0001048/0.01309, allocations: 181.3 kB / 0.8225 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.01313, allocations: 47.72 kB / 0.8225 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.01332, allocations: 164.9 kB / 0.8227 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.01332, allocations: 0 / 0.8227 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01333, allocations: 0 / 0.8227 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01333, allocations: 0 / 0.8227 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.01349, allocations: 212.3 kB / 0.8229 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01349, allocations: 0 / 0.8229 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.01353, allocations: 19.92 kB / 0.8229 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01353, allocations: 0 / 0.8229 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.01354, allocations: 4 kB / 0.8229 GB, free: 5.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01354, allocations: 0 / 0.8229 GB, free: 5.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.01354, allocations: 3.938 kB / 0.8229 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.0137, allocations: 204.8 kB / 0.8231 GB, free: 5.75 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.915e-05/0.01374, allocations: 43.66 kB / 0.8231 GB, free: 5.707 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.01377, allocations: 13.05 kB / 0.8231 GB, free: 5.695 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.902e-05/0.01383, allocations: 11.98 kB / 0.8232 GB, free: 5.684 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.01388, allocations: 25.03 kB / 0.8232 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.01389, allocations: 11.92 kB / 0.8232 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001543/0.01404, allocations: 291 kB / 0.8235 GB, free: 5.371 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01404, allocations: 1.125 kB / 0.8235 GB, free: 5.371 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002118/0.01425, allocations: 63.89 kB / 0.8235 GB, free: 5.309 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,$whenCondition1,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled) * Number of discrete states: 6 (tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008208/0.01507, allocations: 409.4 kB / 0.8239 GB, free: 5.059 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001738/0.01525, allocations: 116.2 kB / 0.824 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01525, allocations: 0 / 0.824 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.536e-05/0.0153, allocations: 51.58 kB / 0.8241 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.01559, allocations: 100.1 kB / 0.8242 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007622/0.01636, allocations: 0.5488 MB / 0.8247 GB, free: 4.211 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.982e-05/0.01642, allocations: 112.6 kB / 0.8248 GB, free: 4.082 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.148e-05/0.01651, allocations: 51.12 kB / 0.8249 GB, free: 4.027 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.01666, allocations: 150.1 kB / 0.825 GB, free: 3.879 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.01666, allocations: 0 / 0.825 GB, free: 3.879 MB / 0.7761 GB Notification: Performance of Templates: time 0.007687/0.02435, allocations: 5.499 MB / 0.8304 GB, free: 14.5 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.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.006473105866462]