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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001627/0.001628, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001978/0.001979, allocations: 189.4 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.49/1.49, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.791/2.791, allocations: 472.7 MB / 0.746 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 63.91 kB / 1.07 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime): time 0.002625/1.014, allocations: 0.809 MB / 1.227 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002334/1.017, allocations: 1.346 MB / 1.228 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/1.017, allocations: 0 / 1.228 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 6.088e-05/1.017, allocations: 7.875 kB / 1.228 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001632/1.017, allocations: 27.72 kB / 1.229 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/1.018, allocations: 297.9 kB / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006291/1.019, allocations: 391.4 kB / 1.229 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/1.019, allocations: 45.05 kB / 1.229 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003391/1.019, allocations: 147.7 kB / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/1.02, allocations: 147.6 kB / 1.229 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/1.02, allocations: 43.92 kB / 1.23 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/1.02, allocations: 51.98 kB / 1.23 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.286e-05/1.02, allocations: 67.8 kB / 1.23 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000215/1.02, allocations: 151.6 kB / 1.23 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005046/1.021, allocations: 343.4 kB / 1.23 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/1.021, allocations: 0 / 1.23 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.704e-06/1.021, allocations: 4 kB / 1.23 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.725e-05/1.021, allocations: 0 / 1.23 GB, free: 9.637 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.001322/1.022, allocations: 0.6198 MB / 1.231 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/1.022, allocations: 8.031 kB / 1.231 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/1.022, allocations: 28.88 kB / 1.231 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008016/1.023, allocations: 296.6 kB / 1.231 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.329e-05/1.023, allocations: 20.59 kB / 1.231 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.784e-05/1.023, allocations: 40.36 kB / 1.231 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005177/1.024, allocations: 263.4 kB / 1.231 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/1.024, allocations: 0 / 1.231 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/1.024, allocations: 11.98 kB / 1.231 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/1.024, allocations: 4 kB / 1.231 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003121/1.024, allocations: 124.6 kB / 1.231 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/1.025, allocations: 0.61 MB / 1.232 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006367/1.026, allocations: 419.6 kB / 1.232 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/1.026, allocations: 180.6 kB / 1.233 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/1.026, allocations: 0 / 1.233 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006919/1.027, allocations: 366.9 kB / 1.233 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=44): time 2.083e-06/1.027, allocations: 0 / 1.233 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44): time 0.001206/1.028, allocations: 0.6585 MB / 1.234 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/1.028, allocations: 63.41 kB / 1.234 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/1.029, allocations: 151.6 kB / 1.234 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.292e-05/1.029, allocations: 57.69 kB / 1.234 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/1.029, allocations: 105.1 kB / 1.234 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/1.029, allocations: 103.2 kB / 1.234 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/1.029, allocations: 122.2 kB / 1.234 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002288/1.029, allocations: 346.7 kB / 1.235 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003361/1.03, allocations: 141.1 kB / 1.235 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004343/1.03, allocations: 301.2 kB / 1.235 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000684/1.031, allocations: 462.3 kB / 1.235 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.916e-06/1.031, allocations: 4 kB / 1.235 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001029/1.032, allocations: 0.5825 MB / 1.236 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.064e-05/1.032, allocations: 63.39 kB / 1.236 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/1.032, allocations: 4 kB / 1.236 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.838e-05/1.032, allocations: 8 kB / 1.236 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/1.032, allocations: 43.86 kB / 1.236 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/1.032, allocations: 15.92 kB / 1.236 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004784/1.033, allocations: 96.08 kB / 1.236 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-05/1.033, allocations: 32 kB / 1.236 GB, free: 2.945 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.0002385/1.033, allocations: 183.4 kB / 1.236 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.07e-05/1.033, allocations: 27.86 kB / 1.236 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.151e-05/1.033, allocations: 30.3 kB / 1.236 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/1.033, allocations: 0 / 1.236 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.033, allocations: 0 / 1.236 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.141e-05/1.033, allocations: 108.8 kB / 1.237 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.396e-05/1.033, allocations: 19.98 kB / 1.237 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/1.034, allocations: 23.97 kB / 1.237 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/1.034, allocations: 51.98 kB / 1.237 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009567/1.035, allocations: 0.6337 MB / 1.237 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009255/1.036, allocations: 0.7252 MB / 1.238 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003921/1.036, allocations: 276.2 kB / 1.238 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.347e-05/1.036, allocations: 108.9 kB / 1.238 GB, free: 0.7188 MB / 0.9512 GB Notification: Performance of Backend: time 9.02e-07/1.036, allocations: 4 kB / 1.238 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001036/1.037, allocations: 0.4927 MB / 1.239 GB, free: 196 kB / 0.9512 GB Notification: Performance of SimCode: time 0.0008866/1.038, allocations: 0.7596 MB / 1.24 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of Templates: time 0.01053/1.049, allocations: 4.407 MB / 1.244 GB, free: 11.02 MB / 0.9669 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