Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.586/1.586, allocations: 297.8 MB / 313.7 MB, free: 132 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009846/0.0009845, allocations: 192.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 223.2 MB / 0.6626 GB, free: 4.348 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007799/0.0007799, allocations: 95.75 kB / 0.7808 GB, free: 43.47 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003985, allocations: 16.69 kB / 0.9088 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5879/0.5883, allocations: 120.3 MB / 1.026 GB, free: 56.21 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1881/0.7764, allocations: 141.8 MB / 1.165 GB, free: 392 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.7767, allocations: 67.97 kB / 1.165 GB, free: 324 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01128/0.788, allocations: 4.007 MB / 1.169 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.913e-06/0.788, allocations: 0 / 1.169 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.7881, allocations: 0 / 1.169 GB, free: 12.36 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.000845/0.7889, allocations: 0.5396 MB / 1.169 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.789, allocations: 12.03 kB / 1.169 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.7891, allocations: 32.73 kB / 1.169 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.7892, allocations: 180.1 kB / 1.17 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.315e-05/0.7893, allocations: 29.95 kB / 1.17 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.87e-05/0.7894, allocations: 40.34 kB / 1.17 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004243/0.7898, allocations: 255.9 kB / 1.17 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.7898, allocations: 7.938 kB / 1.17 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.7899, allocations: 11.98 kB / 1.17 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.7899, allocations: 4 kB / 1.17 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.7901, allocations: 128.6 kB / 1.17 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008743/0.791, allocations: 0.5832 MB / 1.171 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.7915, allocations: 429.8 kB / 1.171 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/0.7918, allocations: 205.9 kB / 1.171 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.7918, allocations: 0 / 1.171 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005532/0.7923, allocations: 375.5 kB / 1.172 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=46): time 2.074e-06/0.7924, allocations: 0 / 1.172 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of matching and sorting (n=46): time 0.001033/0.7934, allocations: 0.6782 MB / 1.172 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.7934, allocations: 63.16 kB / 1.172 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.7936, allocations: 142 kB / 1.172 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-05/0.7936, allocations: 49.7 kB / 1.172 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.558e-05/0.7937, allocations: 113 kB / 1.173 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.262e-05/0.7938, allocations: 98.83 kB / 1.173 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.7939, allocations: 16 kB / 1.173 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.794, allocations: 334.8 kB / 1.173 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/0.7942, allocations: 149.1 kB / 1.173 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/0.7946, allocations: 299.8 kB / 1.173 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005344/0.7951, allocations: 458.1 kB / 1.174 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.7952, allocations: 0 / 1.174 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008702/0.796, allocations: 0.5723 MB / 1.174 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.923e-05/0.7961, allocations: 75.45 kB / 1.174 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.7961, allocations: 4 kB / 1.174 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.7961, allocations: 8.891 kB / 1.175 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.7963, allocations: 39.86 kB / 1.175 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.7963, allocations: 11.94 kB / 1.175 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.7968, allocations: 111.7 kB / 1.175 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.112e-05/0.7968, allocations: 27.98 kB / 1.175 GB, free: 5.941 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002047/0.7971, allocations: 193.2 kB / 1.175 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.7971, allocations: 27.81 kB / 1.175 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.129e-05/0.7972, allocations: 22.31 kB / 1.175 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.7972, allocations: 7.984 kB / 1.175 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.7972, allocations: 0 / 1.175 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.7972, allocations: 0 / 1.175 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.7987, allocations: 1.061 MB / 1.176 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.7987, allocations: 4.062 kB / 1.176 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.448e-05/0.7988, allocations: 23.92 kB / 1.176 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.463e-06/0.7988, allocations: 4 kB / 1.176 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.7989, allocations: 19.91 kB / 1.176 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.7989, allocations: 4 kB / 1.176 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.7989, allocations: 0 / 1.176 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008071/0.7997, allocations: 0.6488 MB / 1.177 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.7998, allocations: 92.92 kB / 1.177 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.082e-05/0.7998, allocations: 32.98 kB / 1.177 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.8, allocations: 27.97 kB / 1.177 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.8001, allocations: 51.92 kB / 1.177 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.8002, allocations: 35.97 kB / 1.177 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.69e-05/0.8003, allocations: 96.81 kB / 1.177 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8003, allocations: 0 / 1.177 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004443/0.8007, allocations: 116 kB / 1.177 GB, free: 3.379 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000285/0.801, allocations: 174.1 kB / 1.177 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007853/0.8018, allocations: 0.5532 MB / 1.178 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8018, allocations: 0 / 1.178 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000382/0.8022, allocations: 315.7 kB / 1.178 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.8026, allocations: 42.33 kB / 1.178 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008833/0.8035, allocations: 0.5112 MB / 1.179 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.8038, allocations: 0.7296 MB / 1.179 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000115/0.8039, allocations: 34.97 kB / 1.179 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.108e-05/0.804, allocations: 35.42 kB / 1.179 GB, free: 0.9102 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.804, allocations: 0 / 1.179 GB, free: 0.9102 MB / 0.7448 GB Notification: Performance of Templates: time 0.007772/0.8118, allocations: 3.875 MB / 1.183 GB, free: 13.11 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)