Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001198/0.001198, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001353/0.001353, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.474/1.474, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.289/2.289, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 71.88 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9859/0.9874, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime): time 0.002051/0.9895, allocations: 0.819 MB / 1.089 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001734/0.9913, allocations: 1.347 MB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.991e-05/0.9913, allocations: 1.125 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.057e-05/0.9914, allocations: 11.2 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.9915, allocations: 21.73 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007845/0.9923, allocations: 293.7 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004567/0.9928, allocations: 392.5 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.9929, allocations: 38.78 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.9931, allocations: 148.7 kB / 1.092 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.9934, allocations: 161.1 kB / 1.092 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.579e-05/0.9935, allocations: 36.66 kB / 1.092 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.9936, allocations: 51.39 kB / 1.092 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.895e-05/0.9937, allocations: 67.86 kB / 1.092 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.9939, allocations: 147.9 kB / 1.092 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004828/0.9944, allocations: 341.6 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9944, allocations: 0 / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.354e-06/0.9944, allocations: 4.844 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.9944, allocations: 0 / 1.092 GB, free: 3.258 MB / 0.8575 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.001087/0.9955, allocations: 0.6102 MB / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.9956, allocations: 9.031 kB / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.9957, allocations: 32.03 kB / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007487/0.9965, allocations: 288.5 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.127e-05/0.9965, allocations: 22.64 kB / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.074e-05/0.9966, allocations: 43.94 kB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.9972, allocations: 266.3 kB / 1.094 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.9972, allocations: 4.516 kB / 1.094 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/0.9972, allocations: 13.25 kB / 1.094 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.9973, allocations: 2.594 kB / 1.094 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/0.9975, allocations: 126.3 kB / 1.094 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.9986, allocations: 0.5958 MB / 1.094 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006611/0.9993, allocations: 422.2 kB / 1.095 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.9996, allocations: 177.2 kB / 1.095 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.9996, allocations: 2.438 kB / 1.095 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006817/1, allocations: 363.1 kB / 1.095 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=44): time 2.194e-06/1, allocations: 0 / 1.095 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44): time 0.001284/1.002, allocations: 0.6638 MB / 1.096 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/1.002, allocations: 66.84 kB / 1.096 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/1.002, allocations: 157.9 kB / 1.096 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.345e-05/1.002, allocations: 55.97 kB / 1.096 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.155e-05/1.002, allocations: 110.5 kB / 1.096 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.018e-05/1.002, allocations: 98.81 kB / 1.096 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/1.002, allocations: 120.5 kB / 1.097 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.845e-05/1.002, allocations: 341.5 kB / 1.097 GB, free: 500 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/1.003, allocations: 142.4 kB / 1.097 GB, free: 456 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/1.003, allocations: 301.4 kB / 1.097 GB, free: 220 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006245/1.004, allocations: 455.3 kB / 1.098 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/1.004, allocations: 6.156 kB / 1.098 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001067/1.005, allocations: 0.5668 MB / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.787e-05/1.005, allocations: 64.89 kB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.005, allocations: 5.094 kB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.89e-05/1.005, allocations: 7.984 kB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/1.005, allocations: 47.86 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.287e-05/1.005, allocations: 9.234 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004993/1.006, allocations: 97.33 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.7e-05/1.006, allocations: 33.8 kB / 1.099 GB, free: 15.46 MB / 0.8731 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.00022/1.006, allocations: 177.1 kB / 1.099 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-05/1.006, allocations: 27.16 kB / 1.099 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.487e-05/1.006, allocations: 25.78 kB / 1.099 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/1.006, allocations: 3.812 kB / 1.099 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.006, allocations: 0 / 1.099 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.339e-05/1.006, allocations: 103.2 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.462e-05/1.006, allocations: 21.98 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/1.006, allocations: 27.19 kB / 1.099 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/1.006, allocations: 52.2 kB / 1.099 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001013/1.007, allocations: 0.6319 MB / 1.1 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001014/1.009, allocations: 0.724 MB / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004269/1.009, allocations: 277.4 kB / 1.101 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.875e-05/1.009, allocations: 105.1 kB / 1.101 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of Backend: time 9.21e-07/1.009, allocations: 4 kB / 1.101 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00106/1.01, allocations: 498.6 kB / 1.101 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0009222/1.011, allocations: 0.7664 MB / 1.102 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of Templates: time 0.01146/1.023, allocations: 4.422 MB / 1.106 GB, free: 12.91 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches