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.491/2.491, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001625/0.001625, allocations: 169 kB / 492.3 MB, free: 0.6211 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.597/1.597, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0009581/0.0009584, allocations: 97.61 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.613e-05/3.634e-05, allocations: 8 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2634, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8863/1.15, allocations: 149.8 MB / 1.359 GB, free: 18.93 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001833/1.15, allocations: 73.33 kB / 1.359 GB, free: 18.93 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01127/1.161, allocations: 3.988 MB / 1.363 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.753e-06/1.161, allocations: 0 / 1.363 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.365e-06/1.161, allocations: 0 / 1.363 GB, free: 34.43 MB / 0.8386 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.0006855/1.162, allocations: 0.5288 MB / 1.363 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/1.162, allocations: 7.688 kB / 1.363 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.26e-05/1.162, allocations: 45.47 kB / 1.363 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.723e-05/1.162, allocations: 172.2 kB / 1.363 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/1.162, allocations: 29.17 kB / 1.363 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.926e-05/1.162, allocations: 38.83 kB / 1.363 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003786/1.163, allocations: 251.9 kB / 1.364 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/1.163, allocations: 3.938 kB / 1.364 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/1.163, allocations: 12.98 kB / 1.364 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/1.163, allocations: 3.688 kB / 1.364 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/1.163, allocations: 120 kB / 1.364 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007749/1.164, allocations: 0.5895 MB / 1.364 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003999/1.164, allocations: 417.1 kB / 1.365 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/1.164, allocations: 208.6 kB / 1.365 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/1.164, allocations: 4 kB / 1.365 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004496/1.165, allocations: 357.2 kB / 1.365 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=46): time 2.475e-06/1.165, allocations: 4 kB / 1.365 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46): time 0.0006776/1.166, allocations: 0.5276 MB / 1.366 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/1.166, allocations: 62.16 kB / 1.366 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.323e-05/1.166, allocations: 132.1 kB / 1.366 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.907e-05/1.166, allocations: 53.42 kB / 1.366 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/1.166, allocations: 101 kB / 1.366 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.348e-05/1.166, allocations: 105.3 kB / 1.366 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/1.166, allocations: 11.56 kB / 1.366 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.684e-05/1.166, allocations: 343.6 kB / 1.367 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/1.166, allocations: 141.6 kB / 1.367 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/1.167, allocations: 292.8 kB / 1.367 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/1.167, allocations: 215.2 kB / 1.367 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.167, allocations: 3.875 kB / 1.367 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007843/1.168, allocations: 0.5494 MB / 1.368 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.401e-05/1.168, allocations: 72.55 kB / 1.368 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/1.168, allocations: 4.469 kB / 1.368 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/1.168, allocations: 22.45 kB / 1.368 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/1.168, allocations: 41.22 kB / 1.368 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/1.168, allocations: 10.2 kB / 1.368 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004625/1.168, allocations: 104.9 kB / 1.368 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-05/1.168, allocations: 32.3 kB / 1.368 GB, free: 32.04 MB / 0.8386 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 () * 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.0001831/1.169, allocations: 175.2 kB / 1.368 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/1.169, allocations: 29.39 kB / 1.368 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.043e-05/1.169, allocations: 30.14 kB / 1.368 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/1.169, allocations: 7.766 kB / 1.368 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.169, allocations: 0 / 1.368 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/1.169, allocations: 2.391 kB / 1.368 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/1.17, allocations: 1.047 MB / 1.369 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.17, allocations: 0 / 1.369 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.331e-05/1.17, allocations: 21.67 kB / 1.369 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/1.17, allocations: 0 / 1.369 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/1.17, allocations: 21.78 kB / 1.369 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/1.17, allocations: 3.75 kB / 1.369 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.17, allocations: 0 / 1.369 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006099/1.171, allocations: 0.6649 MB / 1.37 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/1.171, allocations: 96.52 kB / 1.37 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.029e-05/1.171, allocations: 25.39 kB / 1.37 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/1.171, allocations: 36.81 kB / 1.37 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.296e-05/1.171, allocations: 43.48 kB / 1.37 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/1.171, allocations: 40.11 kB / 1.37 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.265e-05/1.171, allocations: 100.1 kB / 1.37 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.171, allocations: 0 / 1.37 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003992/1.172, allocations: 114.7 kB / 1.37 GB, free: 31.12 MB / 0.8386 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) * 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.000187/1.172, allocations: 156.4 kB / 1.371 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006088/1.173, allocations: 0.5436 MB / 1.371 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.173, allocations: 3.812 kB / 1.371 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002902/1.173, allocations: 303.5 kB / 1.371 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/1.173, allocations: 29.31 kB / 1.371 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005724/1.174, allocations: 383.5 kB / 1.372 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/1.174, allocations: 0.7373 MB / 1.373 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.934e-05/1.174, allocations: 34.73 kB / 1.373 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/1.174, allocations: 26.91 kB / 1.373 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of SimCode: time 3.01e-07/1.174, allocations: 0 / 1.373 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of Templates: time 0.006635/1.181, allocations: 3.824 MB / 1.376 GB, free: 29.73 MB / 0.8386 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