Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.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.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_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.001548/0.001548, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.522/1.522, 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 10.1.1-maint.10.0.x/package.mo): time 2.921/2.921, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 71.89 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102/1.104, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime): time 0.002299/1.106, allocations: 0.8316 MB / 1.168 GB, free: 3 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002077/1.108, allocations: 1.345 MB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/1.108, allocations: 0 / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.957e-05/1.108, allocations: 11.81 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001351/1.108, allocations: 31.77 kB / 1.17 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009058/1.109, allocations: 289.4 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005223/1.11, allocations: 391.4 kB / 1.17 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/1.11, allocations: 33.11 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/1.11, allocations: 155.8 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002723/1.111, allocations: 151.5 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.05e-05/1.111, allocations: 36 kB / 1.171 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/1.111, allocations: 55.92 kB / 1.171 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.309e-05/1.111, allocations: 63.88 kB / 1.171 GB, free: 460 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002017/1.111, allocations: 155.5 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004673/1.112, allocations: 331.6 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/1.112, allocations: 0 / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.475e-06/1.112, allocations: 0 / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.69e-05/1.112, allocations: 4 kB / 1.171 GB, free: 15.97 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.001316/1.113, allocations: 0.6161 MB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/1.113, allocations: 8.922 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/1.113, allocations: 36.83 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007772/1.114, allocations: 292.6 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.624e-05/1.114, allocations: 28.59 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.221e-05/1.114, allocations: 40.34 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004648/1.115, allocations: 262.9 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.115, allocations: 3.938 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.421e-05/1.115, allocations: 11.92 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/1.115, allocations: 0 / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002533/1.115, allocations: 127.9 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009717/1.116, allocations: 0.6092 MB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005768/1.116, allocations: 411.6 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/1.117, allocations: 180.7 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/1.117, allocations: 4 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006041/1.117, allocations: 370.9 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 1.973e-06/1.117, allocations: 0 / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.00104/1.118, allocations: 0.6584 MB / 1.175 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/1.118, allocations: 71.39 kB / 1.175 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/1.119, allocations: 144.5 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.976e-05/1.119, allocations: 57.69 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.937e-05/1.119, allocations: 105.1 kB / 1.175 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.359e-05/1.119, allocations: 107.2 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/1.119, allocations: 122.2 kB / 1.175 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.119, allocations: 338.8 kB / 1.176 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/1.119, allocations: 141.1 kB / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/1.12, allocations: 304.1 kB / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006014/1.12, allocations: 446.4 kB / 1.176 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.12, allocations: 0 / 1.176 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009129/1.121, allocations: 0.5692 MB / 1.177 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.707e-05/1.121, allocations: 67.39 kB / 1.177 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/1.121, allocations: 4 kB / 1.177 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/1.122, allocations: 8 kB / 1.177 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/1.122, allocations: 48.44 kB / 1.177 GB, free: 9.441 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/1.122, allocations: 15.94 kB / 1.177 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004751/1.122, allocations: 95.64 kB / 1.177 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.974e-05/1.122, allocations: 31.98 kB / 1.177 GB, free: 9.301 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.0001952/1.122, allocations: 182.9 kB / 1.177 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/1.122, allocations: 31.84 kB / 1.177 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.365e-05/1.123, allocations: 22.31 kB / 1.177 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/1.123, allocations: 3.984 kB / 1.177 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.123, allocations: 0 / 1.177 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.516e-05/1.123, allocations: 104.8 kB / 1.178 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.427e-05/1.123, allocations: 27.92 kB / 1.178 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/1.123, allocations: 35.89 kB / 1.178 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/1.123, allocations: 39.94 kB / 1.178 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008754/1.124, allocations: 0.6375 MB / 1.178 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008283/1.125, allocations: 0.7213 MB / 1.179 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003238/1.125, allocations: 287.9 kB / 1.179 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.063e-05/1.125, allocations: 99.27 kB / 1.179 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of Backend: time 7.42e-07/1.125, allocations: 0 / 1.179 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001013/1.126, allocations: 0.4961 MB / 1.18 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008234/1.127, allocations: 0.7548 MB / 1.181 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of Templates: time 0.009267/1.136, allocations: 4.409 MB / 1.185 GB, free: 1.359 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches