Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 113.8 kB / 16.42 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 191.8 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001548, allocations: 67.89 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.05, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.003035/1.053, allocations: 0.8179 MB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002472/1.055, allocations: 1.35 MB / 1.211 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/1.055, allocations: 0 / 1.211 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.184e-05/1.056, allocations: 15.8 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001332/1.056, allocations: 19.8 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/1.057, allocations: 294.2 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005528/1.057, allocations: 395.4 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/1.058, allocations: 41.05 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003081/1.058, allocations: 147.8 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003022/1.058, allocations: 155.5 kB / 1.212 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.677e-05/1.058, allocations: 40 kB / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/1.058, allocations: 51.92 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.124e-05/1.058, allocations: 63.88 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001986/1.059, allocations: 151.6 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004638/1.059, allocations: 338.9 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.059, allocations: 0 / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.984e-06/1.059, allocations: 4 kB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.142e-05/1.059, allocations: 0 / 1.212 GB, free: 9.82 MB / 0.9356 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.001243/1.06, allocations: 0.6102 MB / 1.213 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/1.06, allocations: 8.031 kB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/1.061, allocations: 28.83 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007975/1.061, allocations: 294.1 kB / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.567e-05/1.061, allocations: 24.58 kB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.239e-05/1.062, allocations: 48.36 kB / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/1.062, allocations: 255.4 kB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/1.062, allocations: 0 / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/1.062, allocations: 15.97 kB / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/1.062, allocations: 4 kB / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002395/1.062, allocations: 120.6 kB / 1.214 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009793/1.063, allocations: 0.6099 MB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005783/1.064, allocations: 422 kB / 1.215 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/1.064, allocations: 176.8 kB / 1.215 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/1.064, allocations: 7.938 kB / 1.215 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005617/1.065, allocations: 358.8 kB / 1.215 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=44): time 2.024e-06/1.065, allocations: 0 / 1.215 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=44): time 0.00108/1.066, allocations: 0.6689 MB / 1.216 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/1.066, allocations: 67.39 kB / 1.216 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/1.066, allocations: 149.7 kB / 1.216 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.212e-05/1.066, allocations: 49.7 kB / 1.216 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.826e-05/1.066, allocations: 113 kB / 1.216 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/1.066, allocations: 98.78 kB / 1.216 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/1.067, allocations: 118.2 kB / 1.216 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.067, allocations: 342.8 kB / 1.217 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/1.067, allocations: 141.1 kB / 1.217 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/1.067, allocations: 300.1 kB / 1.217 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006023/1.068, allocations: 458.4 kB / 1.217 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/1.068, allocations: 0 / 1.217 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009374/1.069, allocations: 0.5652 MB / 1.218 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.428e-05/1.069, allocations: 69.44 kB / 1.218 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/1.069, allocations: 7.984 kB / 1.218 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/1.069, allocations: 8 kB / 1.218 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/1.069, allocations: 39.86 kB / 1.218 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/1.069, allocations: 12 kB / 1.218 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/1.07, allocations: 104 kB / 1.218 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/1.07, allocations: 31.98 kB / 1.218 GB, free: 3.152 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,thrTimWitRes.passed,$PRE.thrTimWitRes.passed,noThrWitRes.passed,$PRE.noThrWitRes.passed,thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,resTim.y,$PRE.resTim.y,thrTimWitRes.reset,noThrWitRes.reset,$whenCondition12,$whenCondition16,booPul.y,$PRE.booPul.y,thrTimWitRes.yAcc,$PRE.thrTimWitRes.yAcc,thrTimWitRes.entryTime,$PRE.thrTimWitRes.entryTime,thrTimWitRes.u,noThrWitRes.yAcc,$PRE.noThrWitRes.yAcc,noThrWitRes.entryTime,$PRE.noThrWitRes.entryTime,noThrWitRes.u,thrTim.yAcc,$PRE.thrTim.yAcc,thrTim.entryTime,$PRE.thrTim.entryTime,thrTim.u,noThr.yAcc,$PRE.noThr.yAcc,noThr.entryTime,$PRE.noThr.entryTime,noThr.u,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition15,$whenCondition14,$whenCondition13,con.y,noThr.reset,$whenCondition4,thrTim.reset,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001876/1.07, allocations: 179 kB / 1.218 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/1.07, allocations: 31.7 kB / 1.218 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.303e-05/1.07, allocations: 22.31 kB / 1.219 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/1.07, allocations: 3.984 kB / 1.219 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.07, allocations: 4 kB / 1.219 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/1.07, allocations: 104.7 kB / 1.219 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.899e-05/1.07, allocations: 19.98 kB / 1.219 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/1.07, allocations: 31.95 kB / 1.219 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/1.071, allocations: 43.94 kB / 1.219 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009098/1.072, allocations: 0.6386 MB / 1.219 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008749/1.072, allocations: 0.729 MB / 1.22 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003326/1.073, allocations: 271.9 kB / 1.22 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.52e-05/1.073, allocations: 107.3 kB / 1.22 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of Backend: time 4.91e-07/1.073, allocations: 0 / 1.22 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009697/1.074, allocations: 0.4927 MB / 1.221 GB, free: 420 kB / 0.9356 GB Notification: Performance of SimCode: time 0.0008706/1.075, allocations: 0.7597 MB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of Templates: time 0.009829/1.085, allocations: 4.613 MB / 1.226 GB, free: 11.01 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches