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.001166/0.001165, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 190.1 kB / 16.53 MB, free: 6.391 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.518/1.518, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.026/3.026, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 72.08 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4522/0.4535, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002862/0.4564, allocations: 0.6632 MB / 1.069 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002198/0.4587, allocations: 1.165 MB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.638e-05/0.4588, allocations: 0 / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.4588, allocations: 0 / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.4589, allocations: 11.88 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007234/0.4597, allocations: 150 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.4599, allocations: 147.8 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.4601, allocations: 8 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.4602, allocations: 59.88 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.4603, allocations: 39.89 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.558e-05/0.4604, allocations: 16 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.4605, allocations: 35.91 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.802e-05/0.4606, allocations: 23.92 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.4607, allocations: 55.83 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.461, allocations: 124 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.461, allocations: 0 / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.377e-06/0.4611, allocations: 0 / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.4611, allocations: 0 / 1.071 GB, free: 7.914 MB / 0.8262 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.0006988/0.4618, allocations: 417 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.4618, allocations: 12.03 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.086e-05/0.4619, allocations: 16.84 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.4624, allocations: 212.5 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.4625, allocations: 8.375 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.4625, allocations: 12.38 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.4627, allocations: 86.12 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.4628, allocations: 3.938 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.4628, allocations: 4 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.4628, allocations: 0 / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.4629, allocations: 35.97 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007467/0.4637, allocations: 372.5 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.4639, allocations: 90.53 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.323e-05/0.464, allocations: 44.78 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.4641, allocations: 0 / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003447/0.4644, allocations: 131.2 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 2.314e-06/0.4644, allocations: 0 / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0005632/0.465, allocations: 208 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.4651, allocations: 55.41 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.4652, allocations: 113.8 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/0.4652, allocations: 37.7 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.4653, allocations: 92.12 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.4654, allocations: 23.86 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.4655, allocations: 49.69 kB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4657, allocations: 318.8 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.4658, allocations: 55.88 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.466, allocations: 85.98 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.4663, allocations: 145.8 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.4663, allocations: 0 / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000514/0.4668, allocations: 207.3 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.396e-05/0.4669, allocations: 29.7 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4669, allocations: 4 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.467, allocations: 0 / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-05/0.4671, allocations: 15.92 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.4671, allocations: 4 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.4674, allocations: 35.91 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.4674, allocations: 11.97 kB / 1.073 GB, free: 4.758 MB / 0.8262 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.0001694/0.4676, allocations: 141.7 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.4677, allocations: 7.906 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.404e-05/0.4677, allocations: 8.5 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.4677, allocations: 4 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.4677, allocations: 7.922 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4678, allocations: 0 / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006102/0.4684, allocations: 433.8 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4684, allocations: 4 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.43e-05/0.4684, allocations: 11.94 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.4685, allocations: 0 / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.4685, allocations: 11.98 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4685, allocations: 0 / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4685, allocations: 0 / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.4689, allocations: 255.3 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.469, allocations: 88.95 kB / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.469, allocations: 11.98 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.4692, allocations: 4 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/0.4693, allocations: 19.97 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.4693, allocations: 7.938 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.169e-05/0.4693, allocations: 87.27 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4694, allocations: 7.875 kB / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004677/0.4698, allocations: 32 kB / 1.075 GB, free: 3.539 MB / 0.8262 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.0002411/0.4701, allocations: 112.7 kB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004609/0.4706, allocations: 195.3 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4706, allocations: 0 / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.4708, allocations: 75.91 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.4712, allocations: 18.61 kB / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006022/0.4718, allocations: 190.8 kB / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.4722, allocations: 0.6924 MB / 1.076 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.861e-05/0.4723, allocations: 8.547 kB / 1.076 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.14e-05/0.4723, allocations: 15.44 kB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.4723, allocations: 4 kB / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of Templates: time 0.005165/0.4775, allocations: 1.647 MB / 1.077 GB, free: 0.5312 MB / 0.8262 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