Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001604/0.001604, allocations: 112.8 kB / 16.42 MB, free: 6.5 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.00172/0.00172, allocations: 183.9 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.45/1.45, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001459, allocations: 59.91 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169/1.17, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.002979/1.173, allocations: 0.8276 MB / 1.168 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002553/1.176, allocations: 1.345 MB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/1.176, allocations: 3.938 kB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.933e-05/1.176, allocations: 11.86 kB / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001422/1.176, allocations: 19.8 kB / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001233/1.177, allocations: 297.3 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005908/1.178, allocations: 391.4 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/1.178, allocations: 41.08 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000386/1.179, allocations: 151.7 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000369/1.179, allocations: 151.5 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/1.179, allocations: 36 kB / 1.171 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/1.179, allocations: 51.98 kB / 1.171 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.449e-05/1.179, allocations: 67.86 kB / 1.171 GB, free: 436 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002341/1.18, allocations: 147.6 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000698/1.18, allocations: 334.9 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.18, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.376e-06/1.18, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.451e-05/1.18, allocations: 4 kB / 1.171 GB, free: 15.95 MB / 0.9044 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.001714/1.182, allocations: 0.6219 MB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 7.869e-05/1.182, allocations: 8.922 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000228/1.183, allocations: 28.83 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/1.184, allocations: 280.7 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.394e-05/1.184, allocations: 32.58 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.639e-05/1.184, allocations: 36.36 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005707/1.184, allocations: 270.9 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/1.184, allocations: 0 / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/1.184, allocations: 11.97 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/1.184, allocations: 4 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000352/1.185, allocations: 119.9 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/1.186, allocations: 0.613 MB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007039/1.187, allocations: 415.6 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/1.187, allocations: 184.8 kB / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/1.187, allocations: 3.938 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006737/1.188, allocations: 362.9 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 2.966e-06/1.188, allocations: 0 / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.001231/1.189, allocations: 0.6661 MB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/1.189, allocations: 63.39 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/1.189, allocations: 152.2 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.795e-05/1.19, allocations: 53.7 kB / 1.175 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/1.19, allocations: 105 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/1.19, allocations: 102.8 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002258/1.19, allocations: 122.2 kB / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001651/1.19, allocations: 338.8 kB / 1.176 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/1.19, allocations: 145.1 kB / 1.176 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004435/1.191, allocations: 296.1 kB / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006228/1.192, allocations: 450.4 kB / 1.176 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/1.192, allocations: 4 kB / 1.176 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001038/1.193, allocations: 0.5731 MB / 1.177 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.192e-05/1.193, allocations: 67.39 kB / 1.177 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/1.193, allocations: 4 kB / 1.177 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.064e-05/1.193, allocations: 8 kB / 1.177 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/1.193, allocations: 47.8 kB / 1.177 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/1.193, allocations: 8 kB / 1.177 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005679/1.194, allocations: 100 kB / 1.177 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.301e-05/1.194, allocations: 31.98 kB / 1.177 GB, free: 9.289 MB / 0.9044 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.0002579/1.194, allocations: 175 kB / 1.177 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.235e-05/1.194, allocations: 35.7 kB / 1.177 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.404e-05/1.194, allocations: 26.31 kB / 1.177 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/1.194, allocations: 7.969 kB / 1.177 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.194, allocations: 0 / 1.177 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/1.194, allocations: 100.8 kB / 1.178 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.491e-05/1.194, allocations: 23.92 kB / 1.178 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/1.194, allocations: 27.95 kB / 1.178 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/1.195, allocations: 47.88 kB / 1.178 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009826/1.196, allocations: 0.6337 MB / 1.178 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009796/1.197, allocations: 0.7251 MB / 1.179 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003725/1.197, allocations: 279.9 kB / 1.179 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.833e-05/1.197, allocations: 105.7 kB / 1.179 GB, free: 7.062 MB / 0.9044 GB Notification: Performance of Backend: time 4e-07/1.197, allocations: 4 kB / 1.179 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001057/1.198, allocations: 0.4942 MB / 1.18 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001013/1.199, allocations: 0.7545 MB / 1.181 GB, free: 5.734 MB / 0.9044 GB Notification: Performance of Templates: time 0.01009/1.209, allocations: 4.397 MB / 1.185 GB, free: 1.352 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches