Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|resetTimer.u|resetTimer.y|accuTimer.u|accuTimer.reset|accuTimer.y|accuTimer1.u|accuTimer1.reset|accuTimer1.y|accuTimer2.u|accuTimer2.reset|accuTimer2.y|accuTimer3.u|accuTimer3.reset|accuTimer3.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|resetTimer.u|resetTimer.y|accuTimer.u|accuTimer.reset|accuTimer.y|accuTimer1.u|accuTimer1.reset|accuTimer1.y|accuTimer2.u|accuTimer2.reset|accuTimer2.y|accuTimer3.u|accuTimer3.reset|accuTimer3.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.42/2.42, allocations: 390.3 MB / 405.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 169.1 kB / 498.1 MB, free: 5.73 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 223.2 MB / 0.7948 GB, free: 17.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 103.9 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003517, allocations: 7 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3262, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1839/0.5101, allocations: 150.8 MB / 1.37 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.5104, allocations: 79.89 kB / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01567/0.5261, allocations: 5.499 MB / 1.376 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.345e-06/0.5261, allocations: 0 / 1.376 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.24e-05/0.5262, allocations: 4 kB / 1.376 GB, free: 5.633 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009226/0.5271, allocations: 0.564 MB / 1.376 GB, free: 4.996 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.5272, allocations: 12.03 kB / 1.376 GB, free: 4.984 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.5273, allocations: 35.67 kB / 1.376 GB, free: 4.949 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.5277, allocations: 266.2 kB / 1.376 GB, free: 4.648 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.5278, allocations: 20.33 kB / 1.376 GB, free: 4.629 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.96e-05/0.5279, allocations: 35.98 kB / 1.377 GB, free: 4.594 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.5282, allocations: 177.5 kB / 1.377 GB, free: 4.418 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.5282, allocations: 0 / 1.377 GB, free: 4.418 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.5283, allocations: 11.98 kB / 1.377 GB, free: 4.406 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.5283, allocations: 4 kB / 1.377 GB, free: 4.402 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002152/0.5285, allocations: 120.5 kB / 1.377 GB, free: 4.285 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.5296, allocations: 0.621 MB / 1.377 GB, free: 3.613 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.5299, allocations: 214.6 kB / 1.378 GB, free: 3.395 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.5299, allocations: 0 / 1.378 GB, free: 3.395 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004394/0.5304, allocations: 263.1 kB / 1.378 GB, free: 3.125 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 1.783e-06/0.5304, allocations: 0 / 1.378 GB, free: 3.125 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.0007172/0.5311, allocations: 432.4 kB / 1.378 GB, free: 2.695 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.5312, allocations: 63.41 kB / 1.378 GB, free: 2.621 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.5313, allocations: 174 kB / 1.379 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.146e-05/0.5314, allocations: 45.7 kB / 1.379 GB, free: 2.391 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.5315, allocations: 144.8 kB / 1.379 GB, free: 2.246 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.953e-05/0.5316, allocations: 82.94 kB / 1.379 GB, free: 2.164 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.5316, allocations: 20 kB / 1.379 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.5318, allocations: 338.8 kB / 1.379 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.5321, allocations: 161 kB / 1.379 GB, free: 1.648 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.5324, allocations: 279.2 kB / 1.38 GB, free: 1.324 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.5328, allocations: 237.1 kB / 1.38 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5328, allocations: 3.938 kB / 1.38 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009746/0.5338, allocations: 0.6033 MB / 1.38 GB, free: 452 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.247e-05/0.5338, allocations: 101.5 kB / 1.38 GB, free: 332 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.5339, allocations: 11.94 kB / 1.38 GB, free: 320 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.5339, allocations: 15.95 kB / 1.38 GB, free: 304 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.534, allocations: 43.86 kB / 1.381 GB, free: 260 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.5341, allocations: 7.984 kB / 1.381 GB, free: 252 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005574/0.5346, allocations: 127.8 kB / 1.381 GB, free: 124 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.616e-05/0.5347, allocations: 31.98 kB / 1.381 GB, free: 92 kB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition10,accuTimer3.reset,$PRE.pre.u,$whenCondition9,$whenCondition8,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition11,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,pre.u,$PRE.booPul.y,booPul.y,$PRE.resetTimer.reset_internal,resetTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.0002121/0.5349, allocations: 178.9 kB / 1.381 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.535, allocations: 23.81 kB / 1.381 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.177e-05/0.535, allocations: 34.62 kB / 1.381 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.535, allocations: 4 kB / 1.381 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.5351, allocations: 3.953 kB / 1.381 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5351, allocations: 0 / 1.381 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008714/0.5359, allocations: 0.7127 MB / 1.382 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.536, allocations: 0 / 1.382 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.985e-05/0.536, allocations: 19.92 kB / 1.382 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.536, allocations: 4 kB / 1.382 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.5361, allocations: 15.94 kB / 1.382 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.5361, allocations: 0 / 1.382 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5361, allocations: 0 / 1.382 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004926/0.5366, allocations: 440 kB / 1.382 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-05/0.5366, allocations: 104.7 kB / 1.382 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.5367, allocations: 11.98 kB / 1.382 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.5368, allocations: 15.94 kB / 1.382 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.041e-05/0.5369, allocations: 27.95 kB / 1.382 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.5369, allocations: 19.98 kB / 1.382 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.089e-05/0.537, allocations: 120.1 kB / 1.382 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.537, allocations: 4 kB / 1.382 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004617/0.5375, allocations: 99.98 kB / 1.382 GB, free: 14.17 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (accuTimer3.reset,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0001907/0.5377, allocations: 141.1 kB / 1.383 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007159/0.5384, allocations: 0.5534 MB / 1.383 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5384, allocations: 0.75 kB / 1.383 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.5386, allocations: 155.6 kB / 1.383 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.5389, allocations: 33.88 kB / 1.383 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000713/0.5396, allocations: 465.5 kB / 1.384 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.5399, allocations: 0.7529 MB / 1.384 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.087e-05/0.54, allocations: 30.97 kB / 1.385 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.012e-05/0.5401, allocations: 27.44 kB / 1.385 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/0.5401, allocations: 0 / 1.385 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of Templates: time 0.007082/0.5472, allocations: 3.573 MB / 1.388 GB, free: 8.391 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches