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.245/2.245, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.00108/0.00108, allocations: 180.6 kB / 487.4 MB, free: 5.043 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.846/1.846, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009022/0.0009022, allocations: 91.91 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.708e-05/2.736e-05, allocations: 5.797 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2714, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8974/1.169, allocations: 149.2 MB / 1.352 GB, free: 18.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/1.169, allocations: 69.27 kB / 1.352 GB, free: 18.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01263/1.182, allocations: 3.968 MB / 1.356 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.527e-06/1.182, allocations: 0 / 1.356 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.371e-05/1.182, allocations: 11.78 kB / 1.356 GB, free: 33.76 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.001144/1.183, allocations: 0.5263 MB / 1.356 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.183, allocations: 11.84 kB / 1.356 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/1.183, allocations: 37.52 kB / 1.356 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/1.183, allocations: 172.8 kB / 1.356 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.771e-05/1.183, allocations: 18.25 kB / 1.356 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/1.184, allocations: 32.12 kB / 1.356 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002374/1.184, allocations: 111 kB / 1.356 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003716/1.184, allocations: 226.8 kB / 1.357 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/1.184, allocations: 3.141 kB / 1.357 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/1.184, allocations: 7.016 kB / 1.357 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/1.184, allocations: 3.844 kB / 1.357 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008426/1.185, allocations: 0.5551 MB / 1.357 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/1.186, allocations: 386 kB / 1.358 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/1.186, allocations: 186.7 kB / 1.358 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/1.186, allocations: 3.844 kB / 1.358 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004657/1.186, allocations: 345.2 kB / 1.358 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=46): time 2.866e-06/1.186, allocations: 0 / 1.358 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46): time 0.0006917/1.187, allocations: 484.5 kB / 1.359 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/1.187, allocations: 69.53 kB / 1.359 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/1.187, allocations: 126.5 kB / 1.359 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.7e-05/1.187, allocations: 42.95 kB / 1.359 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.612e-05/1.187, allocations: 94.34 kB / 1.359 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.265e-05/1.187, allocations: 104 kB / 1.359 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/1.187, allocations: 7.5 kB / 1.359 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001581/1.188, allocations: 342.4 kB / 1.359 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/1.188, allocations: 123.9 kB / 1.359 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/1.188, allocations: 267.1 kB / 1.36 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004823/1.189, allocations: 154.9 kB / 1.36 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/1.189, allocations: 3.875 kB / 1.36 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008407/1.189, allocations: 469.5 kB / 1.36 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.224e-05/1.19, allocations: 69.48 kB / 1.36 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.19, allocations: 4.438 kB / 1.36 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/1.19, allocations: 16.53 kB / 1.36 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/1.19, allocations: 47.77 kB / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/1.19, allocations: 13.02 kB / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004572/1.19, allocations: 98.66 kB / 1.361 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/1.19, allocations: 28.98 kB / 1.361 GB, free: 31.56 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.0001626/1.19, allocations: 149.2 kB / 1.361 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/1.19, allocations: 34.17 kB / 1.361 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.192e-05/1.191, allocations: 27.55 kB / 1.361 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/1.191, allocations: 5.984 kB / 1.361 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/1.191, allocations: 0 / 1.361 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/1.191, allocations: 4.984 kB / 1.361 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/1.192, allocations: 0.9562 MB / 1.362 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.192, allocations: 1.188 kB / 1.362 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.754e-05/1.192, allocations: 18.44 kB / 1.362 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/1.192, allocations: 7.891 kB / 1.362 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/1.192, allocations: 17.77 kB / 1.362 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/1.192, allocations: 0 / 1.362 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.192, allocations: 0 / 1.362 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006402/1.193, allocations: 0.624 MB / 1.362 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/1.193, allocations: 92.67 kB / 1.362 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.217e-05/1.193, allocations: 23.89 kB / 1.362 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/1.193, allocations: 27.09 kB / 1.362 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/1.193, allocations: 50 kB / 1.363 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.396e-05/1.193, allocations: 36.03 kB / 1.363 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.834e-05/1.193, allocations: 96.47 kB / 1.363 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.193, allocations: 0 / 1.363 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004518/1.194, allocations: 95.02 kB / 1.363 GB, free: 30.68 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.0002403/1.194, allocations: 153.5 kB / 1.363 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006213/1.194, allocations: 0.5087 MB / 1.363 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.194, allocations: 0 / 1.363 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002872/1.195, allocations: 284.1 kB / 1.364 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/1.195, allocations: 29.59 kB / 1.364 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006206/1.196, allocations: 347.3 kB / 1.364 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/1.196, allocations: 0.7373 MB / 1.365 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000107/1.196, allocations: 33.09 kB / 1.365 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/1.196, allocations: 28.41 kB / 1.365 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.196, allocations: 4 kB / 1.365 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of Templates: time 0.006686/1.203, allocations: 3.653 MB / 1.368 GB, free: 29.29 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