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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0099/0.009899, allocations: 100.1 kB / 15.73 MB, free: 6.012 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.001534/0.001534, allocations: 187 kB / 16.67 MB, free: 5.949 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.542/1.542, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.908/2.908, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.91 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4086, allocations: 157.4 MB / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002264/0.4109, allocations: 0.6622 MB / 1.208 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001779/0.4127, allocations: 1.158 MB / 1.21 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.375e-05/0.4128, allocations: 4 kB / 1.21 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.768e-05/0.4129, allocations: 3.938 kB / 1.21 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.344e-05/0.413, allocations: 11.91 kB / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006176/0.4136, allocations: 140.6 kB / 1.21 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.4139, allocations: 155.7 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.414, allocations: 8 kB / 1.21 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.4141, allocations: 55.84 kB / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.4142, allocations: 55.84 kB / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.4143, allocations: 16 kB / 1.21 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.801e-05/0.4144, allocations: 31.98 kB / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.309e-05/0.4144, allocations: 23.91 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.96e-05/0.4145, allocations: 51.89 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.4147, allocations: 131.6 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4147, allocations: 0 / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4147, allocations: 0 / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.4147, allocations: 4 kB / 1.21 GB, free: 7.121 MB / 0.9669 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.0006552/0.4154, allocations: 417 kB / 1.211 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.4154, allocations: 8.625 kB / 1.211 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.302e-05/0.4155, allocations: 12.84 kB / 1.211 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.4159, allocations: 216.3 kB / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.416, allocations: 4.375 kB / 1.211 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.416, allocations: 20.36 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.4162, allocations: 78.2 kB / 1.211 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4162, allocations: 3.938 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.4162, allocations: 7.984 kB / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4162, allocations: 0 / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.016e-05/0.4163, allocations: 39.91 kB / 1.211 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006836/0.417, allocations: 356.6 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.4172, allocations: 90.55 kB / 1.211 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.918e-05/0.4173, allocations: 44.77 kB / 1.211 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.4173, allocations: 0 / 1.211 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000333/0.4177, allocations: 135.4 kB / 1.212 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.4177, allocations: 0 / 1.212 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0005333/0.4182, allocations: 201.6 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/0.4183, allocations: 59.39 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.4184, allocations: 113.8 kB / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.4185, allocations: 33.7 kB / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.241e-05/0.4186, allocations: 96.62 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.4186, allocations: 23.62 kB / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.343e-05/0.4187, allocations: 53.62 kB / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.4189, allocations: 322.8 kB / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.419, allocations: 51.94 kB / 1.212 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.4192, allocations: 90.31 kB / 1.213 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.4194, allocations: 140.2 kB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4194, allocations: 0 / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003699/0.4198, allocations: 211.1 kB / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.933e-05/0.4199, allocations: 33.7 kB / 1.213 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.4199, allocations: 8.109 kB / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.4199, allocations: 0 / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.853e-05/0.42, allocations: 8 kB / 1.213 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.42, allocations: 4 kB / 1.213 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.4202, allocations: 39.84 kB / 1.213 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.4203, allocations: 11.98 kB / 1.213 GB, free: 3.969 MB / 0.9669 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.000158/0.4204, allocations: 129.8 kB / 1.213 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.4205, allocations: 11.89 kB / 1.213 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.442e-05/0.4205, allocations: 8.5 kB / 1.213 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.4205, allocations: 4 kB / 1.213 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4205, allocations: 3.938 kB / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4205, allocations: 0 / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.421, allocations: 434.4 kB / 1.214 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.421, allocations: 0 / 1.214 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.753e-05/0.421, allocations: 4 kB / 1.214 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.421, allocations: 0 / 1.214 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.4211, allocations: 15.98 kB / 1.214 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4211, allocations: 0 / 1.214 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4211, allocations: 0 / 1.214 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.4214, allocations: 265.3 kB / 1.214 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.422e-05/0.4214, allocations: 92.94 kB / 1.214 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.4215, allocations: 3.984 kB / 1.214 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.552e-05/0.4215, allocations: 11.98 kB / 1.214 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.4216, allocations: 15.98 kB / 1.214 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.4216, allocations: 15.92 kB / 1.214 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.639e-05/0.4217, allocations: 83.28 kB / 1.214 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4217, allocations: 4 kB / 1.214 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002993/0.422, allocations: 27.98 kB / 1.214 GB, free: 2.758 MB / 0.9669 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.0001945/0.4222, allocations: 111.2 kB / 1.214 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003225/0.4225, allocations: 195.3 kB / 1.214 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4225, allocations: 4.25 kB / 1.214 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.4227, allocations: 75.89 kB / 1.214 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.4229, allocations: 16.53 kB / 1.214 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004497/0.4234, allocations: 186.6 kB / 1.215 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.4238, allocations: 0.6962 MB / 1.215 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.954e-05/0.4239, allocations: 12.55 kB / 1.215 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.4239, allocations: 23.38 kB / 1.215 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.4239, allocations: 0 / 1.215 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of Templates: time 0.004838/0.4288, allocations: 1.697 MB / 1.217 GB, free: 15.69 MB / 0.9825 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