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.001587/0.001587, allocations: 109.8 kB / 16.41 MB, free: 6.465 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.001536/0.001536, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.521/1.521, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.717/2.717, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001685, allocations: 67.89 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135/1.136, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.002628/1.139, allocations: 0.8234 MB / 1.168 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002288/1.141, allocations: 1.357 MB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/1.142, allocations: 4 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.052e-05/1.142, allocations: 11.81 kB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001258/1.142, allocations: 19.78 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00095/1.143, allocations: 300.5 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005703/1.143, allocations: 387.4 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/1.144, allocations: 33.11 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/1.144, allocations: 147.8 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/1.144, allocations: 155.5 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.443e-05/1.144, allocations: 36 kB / 1.171 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/1.144, allocations: 55.92 kB / 1.171 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.111e-05/1.145, allocations: 67.86 kB / 1.171 GB, free: 500 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/1.145, allocations: 155.5 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004964/1.145, allocations: 335.6 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.145, allocations: 0 / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.633e-06/1.145, allocations: 0 / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.236e-05/1.145, allocations: 3.938 kB / 1.171 GB, free: 8 kB / 0.8887 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.001324/1.147, allocations: 0.6122 MB / 1.172 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/1.147, allocations: 8.922 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/1.147, allocations: 36.83 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008316/1.148, allocations: 296.6 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.069e-05/1.148, allocations: 20.59 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.899e-05/1.148, allocations: 48.34 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004528/1.148, allocations: 254.9 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/1.148, allocations: 4 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.233e-05/1.148, allocations: 15.92 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/1.148, allocations: 4 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003179/1.149, allocations: 123.9 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/1.15, allocations: 0.6053 MB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000612/1.15, allocations: 422.3 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/1.151, allocations: 180.7 kB / 1.174 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/1.151, allocations: 4 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006897/1.151, allocations: 366.9 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 3.306e-06/1.151, allocations: 0 / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.00122/1.153, allocations: 0.6584 MB / 1.175 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/1.153, allocations: 63.41 kB / 1.175 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/1.153, allocations: 149.7 kB / 1.175 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.099e-05/1.153, allocations: 53.69 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/1.153, allocations: 109.1 kB / 1.175 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/1.153, allocations: 103.2 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/1.153, allocations: 122.2 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001813/1.154, allocations: 342.7 kB / 1.176 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/1.154, allocations: 141.1 kB / 1.176 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004155/1.154, allocations: 300.1 kB / 1.176 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006626/1.155, allocations: 454.4 kB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/1.155, allocations: 0 / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001077/1.156, allocations: 0.5657 MB / 1.177 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.53e-05/1.156, allocations: 66.05 kB / 1.177 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/1.156, allocations: 8 kB / 1.177 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/1.156, allocations: 8 kB / 1.177 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/1.156, allocations: 39.86 kB / 1.177 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/1.156, allocations: 15.92 kB / 1.177 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004942/1.157, allocations: 99.8 kB / 1.177 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/1.157, allocations: 35.94 kB / 1.177 GB, free: 9.34 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.000201/1.157, allocations: 178.9 kB / 1.177 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/1.157, allocations: 27.86 kB / 1.177 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.889e-05/1.157, allocations: 30.3 kB / 1.177 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/1.157, allocations: 0 / 1.177 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.157, allocations: 0 / 1.177 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.462e-05/1.157, allocations: 108.8 kB / 1.178 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.638e-05/1.158, allocations: 27.98 kB / 1.178 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/1.158, allocations: 31.97 kB / 1.178 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/1.158, allocations: 39.92 kB / 1.178 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009357/1.159, allocations: 0.6414 MB / 1.178 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008949/1.16, allocations: 0.7253 MB / 1.179 GB, free: 7.48 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003544/1.16, allocations: 275.9 kB / 1.179 GB, free: 7.211 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.566e-05/1.16, allocations: 103.2 kB / 1.179 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of Backend: time 7.41e-07/1.16, allocations: 0 / 1.179 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009878/1.161, allocations: 0.4942 MB / 1.18 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008385/1.162, allocations: 0.7556 MB / 1.181 GB, free: 5.781 MB / 0.9044 GB Notification: Performance of Templates: time 0.00959/1.172, allocations: 4.403 MB / 1.185 GB, free: 1.398 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