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.001625/0.001625, allocations: 113.4 kB / 16.42 MB, free: 6.449 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.001902/0.001902, allocations: 192.4 kB / 17.35 MB, free: 5.734 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.567/1.567, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.73/2.73, allocations: 469.4 MB / 0.7428 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 67.89 kB / 1.066 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9867/0.988, allocations: 159.1 MB / 1.221 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.002222/0.9903, allocations: 0.8145 MB / 1.222 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001925/0.9923, allocations: 1.346 MB / 1.223 GB, free: 172 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.9924, allocations: 0 / 1.223 GB, free: 172 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.037e-05/0.9925, allocations: 7.875 kB / 1.223 GB, free: 164 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.9926, allocations: 27.72 kB / 1.223 GB, free: 136 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009116/0.9935, allocations: 302.2 kB / 1.223 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004614/0.994, allocations: 391.3 kB / 1.224 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.9942, allocations: 37.06 kB / 1.224 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000256/0.9944, allocations: 147.8 kB / 1.224 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.9947, allocations: 159.5 kB / 1.224 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.68e-05/0.9948, allocations: 36 kB / 1.224 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.9949, allocations: 51.98 kB / 1.224 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.671e-05/0.995, allocations: 63.88 kB / 1.224 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.9952, allocations: 155.5 kB / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004116/0.9956, allocations: 338.9 kB / 1.225 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.9956, allocations: 0 / 1.225 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9956, allocations: 0 / 1.225 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.9956, allocations: 0 / 1.225 GB, free: 14.5 MB / 0.9512 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.001141/0.9968, allocations: 0.6102 MB / 1.225 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.9968, allocations: 8.625 kB / 1.225 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.997, allocations: 36.83 kB / 1.225 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007837/0.9978, allocations: 292.6 kB / 1.226 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.394e-05/0.9978, allocations: 32.52 kB / 1.226 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.431e-05/0.9979, allocations: 36.36 kB / 1.226 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004307/0.9983, allocations: 259.4 kB / 1.226 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.9984, allocations: 4 kB / 1.226 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.9984, allocations: 7.984 kB / 1.226 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.9984, allocations: 4 kB / 1.226 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002379/0.9987, allocations: 124.6 kB / 1.226 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009777/0.9996, allocations: 0.6061 MB / 1.227 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005745/1, allocations: 423.6 kB / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/1, allocations: 180.6 kB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/1.001, allocations: 0 / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006494/1.001, allocations: 362.8 kB / 1.228 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=44): time 2.235e-06/1.001, allocations: 0 / 1.228 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44): time 0.001228/1.002, allocations: 0.6622 MB / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/1.002, allocations: 67.45 kB / 1.228 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/1.003, allocations: 143.6 kB / 1.228 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-05/1.003, allocations: 57.69 kB / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/1.003, allocations: 109 kB / 1.229 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/1.003, allocations: 98.8 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000276/1.003, allocations: 126.1 kB / 1.229 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002037/1.004, allocations: 342.8 kB / 1.229 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/1.004, allocations: 141.1 kB / 1.229 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004117/1.004, allocations: 296.1 kB / 1.229 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006688/1.005, allocations: 462.3 kB / 1.23 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/1.005, allocations: 4 kB / 1.23 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001132/1.006, allocations: 0.5773 MB / 1.231 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.356e-05/1.006, allocations: 59.41 kB / 1.231 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/1.006, allocations: 4 kB / 1.231 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.31e-05/1.006, allocations: 8 kB / 1.231 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/1.007, allocations: 47.84 kB / 1.231 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.82e-05/1.007, allocations: 8 kB / 1.231 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005773/1.007, allocations: 99.7 kB / 1.231 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.227e-05/1.007, allocations: 31.98 kB / 1.231 GB, free: 7.824 MB / 0.9512 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.0002888/1.008, allocations: 178 kB / 1.231 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.292e-05/1.008, allocations: 39.7 kB / 1.231 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.687e-05/1.008, allocations: 22.31 kB / 1.231 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/1.008, allocations: 3.984 kB / 1.231 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/1.008, allocations: 3.938 kB / 1.231 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/1.008, allocations: 104.7 kB / 1.231 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.236e-05/1.008, allocations: 23.98 kB / 1.231 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/1.008, allocations: 27.95 kB / 1.231 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/1.008, allocations: 39.94 kB / 1.231 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009995/1.009, allocations: 0.6376 MB / 1.232 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009151/1.01, allocations: 0.7328 MB / 1.233 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003321/1.011, allocations: 280.2 kB / 1.233 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.965e-05/1.011, allocations: 97.3 kB / 1.233 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of Backend: time 6.72e-07/1.011, allocations: 0 / 1.233 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001034/1.012, allocations: 0.4966 MB / 1.233 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0009077/1.013, allocations: 0.7558 MB / 1.234 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of Templates: time 0.009792/1.022, allocations: 4.411 MB / 1.238 GB, free: 15.88 MB / 0.9669 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