Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.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.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|thrTim.u|thrTim.passed|thrTim.y|thrTim.t|noThrWitRes.u|noThrWitRes.reset|noThrWitRes.y|noThrWitRes.t|thrTimWitRes.u|thrTimWitRes.reset|thrTimWitRes.passed|thrTimWitRes.y|thrTimWitRes.t",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|thrTim.u|thrTim.passed|thrTim.y|thrTim.t|noThrWitRes.u|noThrWitRes.reset|noThrWitRes.y|noThrWitRes.t|thrTimWitRes.u|thrTimWitRes.reset|thrTimWitRes.passed|thrTimWitRes.y|thrTimWitRes.t",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.352/2.352, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001248/0.001248, allocations: 184.8 kB / 487.4 MB, free: 5.02 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.815/1.815, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 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.001137/0.001138, allocations: 109.5 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.942e-05/2.935e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3013, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9273/1.229, allocations: 149.1 MB / 1.352 GB, free: 18.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/1.229, allocations: 73 kB / 1.352 GB, free: 18.47 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01271/1.242, allocations: 3.981 MB / 1.356 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.312e-06/1.242, allocations: 0 / 1.356 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.928e-06/1.242, allocations: 3.875 kB / 1.356 GB, free: 33.98 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.0007758/1.243, allocations: 0.5393 MB / 1.356 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/1.243, allocations: 8.281 kB / 1.356 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.545e-05/1.243, allocations: 37.28 kB / 1.356 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.891e-05/1.243, allocations: 167.7 kB / 1.356 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/1.243, allocations: 13.81 kB / 1.356 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.706e-05/1.243, allocations: 33.09 kB / 1.356 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002053/1.243, allocations: 108.8 kB / 1.356 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/1.244, allocations: 238.5 kB / 1.357 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/1.244, allocations: 0 / 1.357 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/1.244, allocations: 17.2 kB / 1.357 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/1.244, allocations: 3.844 kB / 1.357 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00075/1.244, allocations: 0.5455 MB / 1.357 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/1.245, allocations: 393.5 kB / 1.358 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/1.245, allocations: 181.5 kB / 1.358 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/1.245, allocations: 3.812 kB / 1.358 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004759/1.245, allocations: 350.7 kB / 1.358 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=46): time 1.924e-06/1.245, allocations: 0 / 1.358 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46): time 0.0006499/1.246, allocations: 481.8 kB / 1.359 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/1.246, allocations: 69.27 kB / 1.359 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.729e-05/1.246, allocations: 124.1 kB / 1.359 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.867e-05/1.246, allocations: 43.77 kB / 1.359 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.875e-05/1.246, allocations: 98.62 kB / 1.359 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.275e-05/1.246, allocations: 103.1 kB / 1.359 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/1.246, allocations: 3.844 kB / 1.359 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.247, allocations: 340.3 kB / 1.359 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/1.247, allocations: 126.3 kB / 1.359 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/1.247, allocations: 267.3 kB / 1.36 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/1.247, allocations: 159.6 kB / 1.36 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/1.247, allocations: 4 kB / 1.36 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007829/1.248, allocations: 474 kB / 1.36 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.898e-05/1.248, allocations: 73.12 kB / 1.36 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.248, allocations: 3.844 kB / 1.36 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/1.248, allocations: 7.688 kB / 1.36 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/1.249, allocations: 47.97 kB / 1.36 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/1.249, allocations: 11.8 kB / 1.36 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/1.249, allocations: 100.2 kB / 1.361 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.816e-05/1.249, allocations: 30.19 kB / 1.361 GB, free: 31.77 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.0001619/1.249, allocations: 154.8 kB / 1.361 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/1.249, allocations: 30.42 kB / 1.361 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.991e-05/1.249, allocations: 20.31 kB / 1.361 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/1.249, allocations: 3.938 kB / 1.361 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/1.249, allocations: 0 / 1.361 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/1.249, allocations: 10.98 kB / 1.361 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/1.251, allocations: 0.9484 MB / 1.362 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.251, allocations: 0 / 1.362 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.735e-05/1.251, allocations: 26.25 kB / 1.362 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/1.251, allocations: 3.953 kB / 1.362 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/1.251, allocations: 15.98 kB / 1.362 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/1.251, allocations: 0 / 1.362 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.251, allocations: 3.844 kB / 1.362 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005891/1.251, allocations: 0.6222 MB / 1.362 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.016e-05/1.251, allocations: 96.52 kB / 1.362 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.3e-05/1.251, allocations: 17.06 kB / 1.362 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/1.252, allocations: 38.03 kB / 1.363 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/1.252, allocations: 40.2 kB / 1.363 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/1.252, allocations: 36.52 kB / 1.363 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.21e-05/1.252, allocations: 96.42 kB / 1.363 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.252, allocations: 0 / 1.363 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003856/1.252, allocations: 97.83 kB / 1.363 GB, free: 30.89 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.0002099/1.252, allocations: 160.9 kB / 1.363 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005811/1.253, allocations: 0.5021 MB / 1.363 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.253, allocations: 0 / 1.363 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002861/1.253, allocations: 285.2 kB / 1.364 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/1.254, allocations: 28.56 kB / 1.364 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005697/1.254, allocations: 340.9 kB / 1.364 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/1.254, allocations: 0.7422 MB / 1.365 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.607e-05/1.255, allocations: 36.2 kB / 1.365 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.598e-05/1.255, allocations: 31.2 kB / 1.365 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.255, allocations: 0 / 1.365 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of Templates: time 0.006948/1.262, allocations: 3.673 MB / 1.368 GB, free: 29.5 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches