Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.009968/0.009968, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001945/0.001945, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.573/1.573, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.9/2.9, allocations: 472.6 MB / 0.7453 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.84 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4034, allocations: 159.9 MB / 1.226 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001879/0.4054, allocations: 0.6628 MB / 1.226 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.4069, allocations: 1.158 MB / 1.227 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.992e-05/0.407, allocations: 4 kB / 1.227 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.018e-05/0.407, allocations: 3.938 kB / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.453e-05/0.4071, allocations: 11.86 kB / 1.227 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006092/0.4077, allocations: 150.8 kB / 1.228 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.4079, allocations: 143.8 kB / 1.228 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.408, allocations: 12 kB / 1.228 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.16e-05/0.4081, allocations: 63.88 kB / 1.228 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.4083, allocations: 43.88 kB / 1.228 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.4084, allocations: 12 kB / 1.228 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.137e-05/0.4085, allocations: 27.98 kB / 1.228 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.185e-05/0.4085, allocations: 23.91 kB / 1.228 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.323e-05/0.4086, allocations: 51.84 kB / 1.228 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.4088, allocations: 135.6 kB / 1.228 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4088, allocations: 0 / 1.228 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4088, allocations: 4 kB / 1.228 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.4088, allocations: 0 / 1.228 GB, free: 6.656 MB / 0.9825 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.0006249/0.4095, allocations: 416.9 kB / 1.228 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.4095, allocations: 12.03 kB / 1.228 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.402e-05/0.4096, allocations: 12.88 kB / 1.228 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.41, allocations: 208.5 kB / 1.229 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.41, allocations: 8.375 kB / 1.229 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.41, allocations: 16.36 kB / 1.229 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.4102, allocations: 90.08 kB / 1.229 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4102, allocations: 7.938 kB / 1.229 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.4102, allocations: 7.984 kB / 1.229 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.4103, allocations: 0 / 1.229 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.928e-05/0.4104, allocations: 35.97 kB / 1.229 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006187/0.411, allocations: 360.6 kB / 1.229 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.4112, allocations: 94.53 kB / 1.229 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.664e-05/0.4112, allocations: 44.98 kB / 1.229 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.4113, allocations: 7.922 kB / 1.229 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002603/0.4115, allocations: 130.5 kB / 1.229 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.4115, allocations: 4 kB / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0003945/0.4119, allocations: 201.6 kB / 1.23 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.4121, allocations: 55.39 kB / 1.23 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.293e-05/0.4122, allocations: 117.8 kB / 1.23 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.4122, allocations: 33.7 kB / 1.23 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.4123, allocations: 92 kB / 1.23 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.4124, allocations: 35.72 kB / 1.23 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.012e-05/0.4124, allocations: 45.7 kB / 1.23 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.4126, allocations: 326.8 kB / 1.23 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.4127, allocations: 55.88 kB / 1.23 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.4129, allocations: 86.16 kB / 1.23 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.4132, allocations: 141.9 kB / 1.231 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4132, allocations: 0 / 1.231 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003352/0.4135, allocations: 203.2 kB / 1.231 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.782e-05/0.4136, allocations: 37.69 kB / 1.231 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.4136, allocations: 4 kB / 1.231 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.4136, allocations: 0 / 1.231 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.985e-05/0.4137, allocations: 11.94 kB / 1.231 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.4137, allocations: 12.06 kB / 1.231 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.4139, allocations: 39.84 kB / 1.231 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.4139, allocations: 8 kB / 1.231 GB, free: 3.477 MB / 0.9825 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 0.0001187/0.414, allocations: 138.2 kB / 1.231 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/0.4141, allocations: 11.95 kB / 1.231 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.84e-05/0.4141, allocations: 8.5 kB / 1.231 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.4141, allocations: 4 kB / 1.231 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4141, allocations: 4 kB / 1.231 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4141, allocations: 0 / 1.231 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004383/0.4146, allocations: 429.5 kB / 1.231 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4146, allocations: 0 / 1.231 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.446e-05/0.4146, allocations: 15.92 kB / 1.231 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4146, allocations: 0 / 1.231 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.4147, allocations: 0 / 1.231 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.4147, allocations: 4 kB / 1.231 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4147, allocations: 0 / 1.231 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.415, allocations: 263.4 kB / 1.232 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.415, allocations: 81.06 kB / 1.232 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.415, allocations: 12 kB / 1.232 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.486e-05/0.4151, allocations: 7.984 kB / 1.232 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.4152, allocations: 11.98 kB / 1.232 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.4152, allocations: 15.92 kB / 1.232 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.844e-05/0.4153, allocations: 91.2 kB / 1.232 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4153, allocations: 7.938 kB / 1.232 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002709/0.4155, allocations: 35.98 kB / 1.232 GB, free: 2.258 MB / 0.9825 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.0001828/0.4157, allocations: 116.2 kB / 1.232 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003833/0.4161, allocations: 191.3 kB / 1.232 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4161, allocations: 0 / 1.232 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.4162, allocations: 75.91 kB / 1.232 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.4165, allocations: 16.23 kB / 1.232 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003889/0.4169, allocations: 190.6 kB / 1.233 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.4173, allocations: 0.6924 MB / 1.233 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.901e-05/0.4174, allocations: 8.5 kB / 1.233 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.4174, allocations: 19.44 kB / 1.233 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.4174, allocations: 0 / 1.233 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of Templates: time 0.004498/0.4219, allocations: 1.653 MB / 1.235 GB, free: 15.25 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches