Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 108.4 kB / 16.41 MB, free: 6.492 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.00165/0.00165, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.567/1.567, allocations: 222.9 MB / 241 MB, free: 15.16 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.217/2.217, allocations: 390.3 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001593, allocations: 63.91 kB / 0.9516 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9867/0.9883, allocations: 140.4 MB / 1.089 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001988/0.9903, allocations: 0.6643 MB / 1.089 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001473/0.9918, allocations: 1.166 MB / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.954e-05/0.9919, allocations: 0 / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.9919, allocations: 5.438 kB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.661e-05/0.992, allocations: 13.88 kB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005754/0.9926, allocations: 140.9 kB / 1.091 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.9928, allocations: 149 kB / 1.091 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.784e-05/0.9929, allocations: 11.83 kB / 1.091 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.546e-05/0.993, allocations: 61.27 kB / 1.091 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.9932, allocations: 56.84 kB / 1.091 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.9932, allocations: 13.66 kB / 1.091 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.902e-05/0.9933, allocations: 22.91 kB / 1.091 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.194e-05/0.9933, allocations: 24.59 kB / 1.091 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.34e-05/0.9934, allocations: 49.03 kB / 1.091 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.9937, allocations: 128.4 kB / 1.091 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.9937, allocations: 3.938 kB / 1.091 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.815e-06/0.9937, allocations: 1.344 kB / 1.091 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.9937, allocations: 3.938 kB / 1.091 GB, free: 4.234 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005677/0.9943, allocations: 423.2 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.9943, allocations: 10.84 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.789e-05/0.9944, allocations: 11.98 kB / 1.092 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.9947, allocations: 207.4 kB / 1.092 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.9948, allocations: 7.219 kB / 1.092 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.9948, allocations: 12.42 kB / 1.092 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.995, allocations: 95.28 kB / 1.092 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.995, allocations: 3.938 kB / 1.092 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.9951, allocations: 2.719 kB / 1.092 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.9951, allocations: 5.234 kB / 1.092 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.619e-05/0.9952, allocations: 40.33 kB / 1.092 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005485/0.9957, allocations: 351.7 kB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.9959, allocations: 98.56 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.016e-05/0.996, allocations: 40.3 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.996, allocations: 1.094 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002924/0.9963, allocations: 132.1 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/0.9963, allocations: 0 / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0004251/0.9968, allocations: 208.9 kB / 1.093 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.9968, allocations: 59.47 kB / 1.093 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.163e-05/0.9969, allocations: 107.3 kB / 1.093 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.9969, allocations: 33.92 kB / 1.093 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.997, allocations: 93.88 kB / 1.093 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.997, allocations: 29.97 kB / 1.093 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.312e-05/0.9971, allocations: 47.44 kB / 1.093 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.978e-05/0.9971, allocations: 324 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.9972, allocations: 52.83 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.9974, allocations: 84.45 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.9975, allocations: 130 kB / 1.094 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.9976, allocations: 4.844 kB / 1.094 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003525/0.9979, allocations: 215.9 kB / 1.094 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.998, allocations: 34.64 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.998, allocations: 1.469 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.998, allocations: 2.531 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.747e-05/0.9981, allocations: 17.47 kB / 1.094 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.9981, allocations: 1.438 kB / 1.094 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.9983, allocations: 36.77 kB / 1.094 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.9983, allocations: 12.53 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 8.87e-05/0.9984, allocations: 133.2 kB / 1.094 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.9985, allocations: 10.09 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.334e-05/0.9985, allocations: 13.5 kB / 1.094 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.9985, allocations: 2.516 kB / 1.094 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.9985, allocations: 0.625 kB / 1.094 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.9985, allocations: 9.766 kB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.9989, allocations: 425.6 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.9989, allocations: 1.75 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/0.999, allocations: 8.359 kB / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.999, allocations: 0.8125 kB / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.999, allocations: 4.516 kB / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.999, allocations: 0.6562 kB / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.999, allocations: 0 / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.9993, allocations: 273 kB / 1.095 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/0.9993, allocations: 84.28 kB / 1.095 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.9993, allocations: 3.766 kB / 1.095 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.901e-05/0.9994, allocations: 6.172 kB / 1.095 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.9995, allocations: 16.06 kB / 1.095 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.9995, allocations: 11.84 kB / 1.095 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.023e-05/0.9996, allocations: 86.3 kB / 1.095 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9996, allocations: 0 / 1.095 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002859/0.9999, allocations: 33.72 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001483/1, allocations: 131.8 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00032/1, allocations: 185.8 kB / 1.095 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1, allocations: 0.7812 kB / 1.095 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/1, allocations: 72.88 kB / 1.095 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/1.001, allocations: 15.3 kB / 1.095 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/1.001, allocations: 218.7 kB / 1.096 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/1.001, allocations: 0.6897 MB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/1.001, allocations: 14.44 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/1.001, allocations: 0 / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of Templates: time 0.003759/1.005, allocations: 1.462 MB / 1.098 GB, free: 15.84 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed Variables in the result:noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,time