Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.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.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|thrTim.u|thrTim.passed|thrTim.y|thrTim.t|noThrWitRes.u|noThrWitRes.reset|noThrWitRes.y|thrTimWitRes.u|thrTimWitRes.reset|thrTimWitRes.passed|thrTimWitRes.y|thrTimWitRes.t",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|thrTim.u|thrTim.passed|thrTim.y|thrTim.t|noThrWitRes.u|noThrWitRes.reset|noThrWitRes.y|thrTimWitRes.u|thrTimWitRes.reset|thrTimWitRes.passed|thrTimWitRes.y|thrTimWitRes.t",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.482/2.482, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001036/0.001036, allocations: 173.1 kB / 498.1 MB, free: 5.738 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.625/1.625, allocations: 223.2 MB / 0.7948 GB, free: 18.83 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.0008563/0.0008562, allocations: 104.3 kB / 0.9346 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004024, allocations: 12.81 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2847, allocations: 142.4 MB / 1.223 GB, free: 89.53 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1863/0.4711, allocations: 149.9 MB / 1.369 GB, free: 3.461 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.4714, allocations: 71.95 kB / 1.369 GB, free: 3.391 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01134/0.4828, allocations: 4.011 MB / 1.373 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.876e-06/0.4828, allocations: 0 / 1.373 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.4828, allocations: 4 kB / 1.373 GB, free: 15.37 MB / 0.8855 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.0008075/0.4836, allocations: 0.5393 MB / 1.374 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.4837, allocations: 8.031 kB / 1.374 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.292e-05/0.4838, allocations: 43.69 kB / 1.374 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.4839, allocations: 178.9 kB / 1.374 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.48e-05/0.484, allocations: 24.22 kB / 1.374 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.333e-05/0.4841, allocations: 43.97 kB / 1.374 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004274/0.4845, allocations: 254.1 kB / 1.374 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.4845, allocations: 0 / 1.374 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.4845, allocations: 11.98 kB / 1.374 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.4846, allocations: 4 kB / 1.374 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002579/0.4848, allocations: 136.5 kB / 1.374 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008811/0.4857, allocations: 0.5831 MB / 1.375 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005039/0.4862, allocations: 426.5 kB / 1.375 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.4863, allocations: 4 kB / 1.375 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005453/0.4868, allocations: 365.8 kB / 1.376 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=46): time 1.723e-06/0.4868, allocations: 0 / 1.376 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of matching and sorting (n=46): time 0.001058/0.4879, allocations: 0.6808 MB / 1.376 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.4879, allocations: 71.14 kB / 1.377 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.4881, allocations: 133.2 kB / 1.377 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.411e-05/0.4881, allocations: 53.69 kB / 1.377 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.4882, allocations: 101 kB / 1.377 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.362e-05/0.4883, allocations: 102.8 kB / 1.377 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.4883, allocations: 12 kB / 1.377 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4884, allocations: 334.8 kB / 1.377 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.4887, allocations: 149.1 kB / 1.377 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/0.4891, allocations: 295.2 kB / 1.378 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/0.4894, allocations: 218 kB / 1.378 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.4894, allocations: 4 kB / 1.378 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001148/0.4906, allocations: 0.5731 MB / 1.378 GB, free: 9.746 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.755e-05/0.4907, allocations: 75.33 kB / 1.378 GB, free: 9.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.4907, allocations: 7.953 kB / 1.378 GB, free: 9.652 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.4907, allocations: 8 kB / 1.378 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.4909, allocations: 47.84 kB / 1.379 GB, free: 9.598 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.4909, allocations: 4 kB / 1.379 GB, free: 9.594 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004535/0.4913, allocations: 108.1 kB / 1.379 GB, free: 9.488 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.096e-05/0.4914, allocations: 35.98 kB / 1.379 GB, free: 9.453 MB / 0.8855 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.0001945/0.4916, allocations: 178.9 kB / 1.379 GB, free: 9.27 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.4917, allocations: 27.8 kB / 1.379 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.575e-05/0.4917, allocations: 22.31 kB / 1.379 GB, free: 9.223 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.4917, allocations: 15.88 kB / 1.379 GB, free: 9.207 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4917, allocations: 4 kB / 1.379 GB, free: 9.203 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.4918, allocations: 7.984 kB / 1.379 GB, free: 9.195 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.4932, allocations: 1.054 MB / 1.38 GB, free: 8.078 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4932, allocations: 0 / 1.38 GB, free: 8.078 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.237e-05/0.4933, allocations: 16 kB / 1.38 GB, free: 8.062 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.4933, allocations: 8 kB / 1.38 GB, free: 8.055 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.851e-05/0.4933, allocations: 19.97 kB / 1.38 GB, free: 8.035 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4934, allocations: 64 / 1.38 GB, free: 8.035 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4934, allocations: 7.938 kB / 1.38 GB, free: 8.027 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007608/0.4941, allocations: 0.6729 MB / 1.381 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.84e-05/0.4942, allocations: 88.92 kB / 1.381 GB, free: 7.215 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.246e-05/0.4943, allocations: 27.98 kB / 1.381 GB, free: 7.188 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.4945, allocations: 39.95 kB / 1.381 GB, free: 7.148 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.116e-05/0.4946, allocations: 43.88 kB / 1.381 GB, free: 7.105 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.36e-05/0.4946, allocations: 39.97 kB / 1.381 GB, free: 7.066 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.932e-05/0.4947, allocations: 103.2 kB / 1.381 GB, free: 6.965 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4947, allocations: 0 / 1.381 GB, free: 6.965 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004138/0.4951, allocations: 104 kB / 1.381 GB, free: 6.863 MB / 0.8855 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.0002469/0.4954, allocations: 165.1 kB / 1.381 GB, free: 6.691 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007453/0.4961, allocations: 0.5497 MB / 1.382 GB, free: 6.117 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4961, allocations: 4.312 kB / 1.382 GB, free: 6.113 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.4965, allocations: 311.7 kB / 1.382 GB, free: 5.809 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.4968, allocations: 31.91 kB / 1.382 GB, free: 5.777 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009629/0.4978, allocations: 0.4925 MB / 1.383 GB, free: 5.258 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.4982, allocations: 0.7422 MB / 1.383 GB, free: 4.492 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.224e-05/0.4983, allocations: 30.97 kB / 1.383 GB, free: 4.465 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.383e-05/0.4984, allocations: 31.42 kB / 1.383 GB, free: 4.434 MB / 0.8855 GB Notification: Performance of SimCode: time 2.1e-07/0.4984, allocations: 0 / 1.383 GB, free: 4.434 MB / 0.8855 GB Notification: Performance of Templates: time 0.008646/0.507, allocations: 3.822 MB / 1.387 GB, free: 0.6211 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches