Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.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_latest_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_latest_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.001569/0.00157, allocations: 107.5 kB / 16.42 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.001384/0.001384, allocations: 190.6 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.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.667/2.667, allocations: 461.7 MB / 0.7352 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 64.05 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059/1.061, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime): time 0.003129/1.064, allocations: 0.8161 MB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00288/1.067, allocations: 1.353 MB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002644/1.068, allocations: 0 / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.508e-05/1.068, allocations: 15.8 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002301/1.068, allocations: 19.8 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001414/1.07, allocations: 293.2 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007479/1.07, allocations: 399.4 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/1.071, allocations: 33.06 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003942/1.071, allocations: 151.8 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003625/1.071, allocations: 151.5 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001227/1.072, allocations: 40 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/1.072, allocations: 55.92 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.534e-05/1.072, allocations: 63.88 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002227/1.072, allocations: 159.5 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005654/1.073, allocations: 334.9 kB / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/1.073, allocations: 0 / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.346e-06/1.073, allocations: 0 / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.667e-05/1.073, allocations: 0 / 1.212 GB, free: 9.805 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.001462/1.074, allocations: 0.6102 MB / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/1.074, allocations: 12.02 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/1.074, allocations: 24.84 kB / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008474/1.075, allocations: 300.6 kB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.679e-05/1.075, allocations: 20.59 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.987e-05/1.075, allocations: 44.36 kB / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/1.076, allocations: 255.4 kB / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/1.076, allocations: 0 / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.778e-05/1.076, allocations: 15.97 kB / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/1.076, allocations: 4 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002566/1.076, allocations: 124.6 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/1.077, allocations: 0.6099 MB / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006321/1.078, allocations: 415.6 kB / 1.214 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/1.078, allocations: 176.8 kB / 1.215 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/1.078, allocations: 8 kB / 1.215 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006134/1.079, allocations: 358.8 kB / 1.215 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=44): time 2.424e-06/1.079, allocations: 0 / 1.215 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of matching and sorting (n=44): time 0.001078/1.08, allocations: 0.6727 MB / 1.216 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/1.08, allocations: 67.39 kB / 1.216 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/1.08, allocations: 147.8 kB / 1.216 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.564e-05/1.08, allocations: 49.7 kB / 1.216 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.441e-05/1.08, allocations: 113 kB / 1.216 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.002e-05/1.081, allocations: 98.78 kB / 1.216 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/1.081, allocations: 118.2 kB / 1.216 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.081, allocations: 346.8 kB / 1.216 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/1.081, allocations: 141.1 kB / 1.217 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/1.082, allocations: 300.1 kB / 1.217 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005644/1.082, allocations: 454.4 kB / 1.217 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.082, allocations: 4 kB / 1.217 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009341/1.083, allocations: 0.5696 MB / 1.218 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.404e-05/1.083, allocations: 67.39 kB / 1.218 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/1.083, allocations: 8 kB / 1.218 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/1.083, allocations: 8 kB / 1.218 GB, free: 3.309 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/1.083, allocations: 39.86 kB / 1.218 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/1.083, allocations: 11.94 kB / 1.218 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004673/1.084, allocations: 95.55 kB / 1.218 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/1.084, allocations: 39.98 kB / 1.218 GB, free: 3.125 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.0001848/1.084, allocations: 171 kB / 1.218 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.638e-05/1.084, allocations: 31.7 kB / 1.218 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.645e-05/1.084, allocations: 26.25 kB / 1.218 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/1.084, allocations: 7.984 kB / 1.218 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.084, allocations: 0 / 1.218 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/1.084, allocations: 100.8 kB / 1.218 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.897e-05/1.084, allocations: 19.98 kB / 1.218 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/1.085, allocations: 36.02 kB / 1.218 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/1.085, allocations: 39.94 kB / 1.218 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008504/1.086, allocations: 0.6386 MB / 1.219 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008015/1.086, allocations: 0.7329 MB / 1.22 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003114/1.087, allocations: 275.9 kB / 1.22 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.338e-05/1.087, allocations: 105.3 kB / 1.22 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of Backend: time 4.41e-07/1.087, allocations: 0 / 1.22 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009324/1.088, allocations: 0.5028 MB / 1.221 GB, free: 388 kB / 0.9356 GB Notification: Performance of SimCode: time 0.0007844/1.088, allocations: 0.7507 MB / 1.221 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of Templates: time 0.008517/1.097, allocations: 4.378 MB / 1.226 GB, free: 11.26 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches