Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002067/0.002067, allocations: 191 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.283/3.283, allocations: 496 MB / 0.7835 GB, free: 33.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 75.11 kB / 1.138 GB, free: 33.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4184, allocations: 173.6 MB / 1.307 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002465/0.4209, allocations: 0.6818 MB / 1.308 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002295/0.4232, allocations: 1.171 MB / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.261e-05/0.4233, allocations: 0 / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.019e-05/0.4233, allocations: 7.938 kB / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.4235, allocations: 15.86 kB / 1.309 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007316/0.4242, allocations: 146.9 kB / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000287/0.4245, allocations: 139.7 kB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.4246, allocations: 15.97 kB / 1.309 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.4248, allocations: 47.97 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.4249, allocations: 59.8 kB / 1.31 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.199e-05/0.425, allocations: 12 kB / 1.31 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.66e-05/0.425, allocations: 31.98 kB / 1.31 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.842e-05/0.4251, allocations: 15.98 kB / 1.31 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.898e-05/0.4252, allocations: 55.83 kB / 1.31 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002823/0.4255, allocations: 131.5 kB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4255, allocations: 0 / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.936e-06/0.4255, allocations: 0 / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.4255, allocations: 0 / 1.31 GB, free: 15.25 MB / 1.014 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.0008667/0.4264, allocations: 347.8 kB / 1.31 GB, free: 14.87 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/0.4264, allocations: 8.922 kB / 1.31 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.925e-05/0.4265, allocations: 20.88 kB / 1.31 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004581/0.427, allocations: 150.7 kB / 1.31 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.427, allocations: 4.375 kB / 1.31 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.427, allocations: 16.36 kB / 1.31 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.4273, allocations: 82.14 kB / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.4273, allocations: 7.922 kB / 1.31 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.4273, allocations: 7.984 kB / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.4273, allocations: 0 / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.4274, allocations: 43.97 kB / 1.31 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000724/0.4281, allocations: 323.7 kB / 1.311 GB, free: 14.15 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.4283, allocations: 86.52 kB / 1.311 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.749e-05/0.4284, allocations: 28.84 kB / 1.311 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.4284, allocations: 0 / 1.311 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003911/0.4288, allocations: 131.3 kB / 1.311 GB, free: 13.88 MB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.4288, allocations: 0 / 1.311 GB, free: 13.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.0004771/0.4293, allocations: 201.5 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.4294, allocations: 59.41 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.4295, allocations: 113.8 kB / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.4295, allocations: 37.7 kB / 1.311 GB, free: 13.45 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.349e-05/0.4296, allocations: 96.27 kB / 1.311 GB, free: 13.35 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.4297, allocations: 27.75 kB / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/0.4297, allocations: 49.69 kB / 1.312 GB, free: 13.27 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001919/0.4299, allocations: 322.8 kB / 1.312 GB, free: 12.94 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.4301, allocations: 47.98 kB / 1.312 GB, free: 12.89 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.4302, allocations: 88.25 kB / 1.312 GB, free: 12.79 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.4305, allocations: 137.1 kB / 1.312 GB, free: 12.64 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4305, allocations: 4 kB / 1.312 GB, free: 12.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004019/0.4309, allocations: 207.3 kB / 1.312 GB, free: 12.42 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.768e-05/0.4309, allocations: 33.7 kB / 1.312 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4309, allocations: 4 kB / 1.312 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.431, allocations: 4 kB / 1.312 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.352e-05/0.4311, allocations: 11.92 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.4311, allocations: 4 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.4313, allocations: 39.86 kB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.4313, allocations: 11.98 kB / 1.312 GB, free: 12.31 MB / 1.014 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.0001581/0.4314, allocations: 138.2 kB / 1.313 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.4315, allocations: 7.953 kB / 1.313 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.53e-05/0.4315, allocations: 12.42 kB / 1.313 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.4315, allocations: 4 kB / 1.313 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4315, allocations: 0 / 1.313 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4315, allocations: 0 / 1.313 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000497/0.432, allocations: 401.5 kB / 1.313 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.432, allocations: 0 / 1.313 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.331e-05/0.4321, allocations: 15.94 kB / 1.313 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4321, allocations: 0 / 1.313 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.4321, allocations: 7.984 kB / 1.313 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4321, allocations: 0 / 1.313 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4321, allocations: 0 / 1.313 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.4324, allocations: 259.3 kB / 1.313 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.539e-05/0.4324, allocations: 11.89 kB / 1.313 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.4324, allocations: 11.98 kB / 1.313 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.359e-05/0.4325, allocations: 11.98 kB / 1.313 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.4326, allocations: 15.92 kB / 1.313 GB, free: 11.35 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.4326, allocations: 11.92 kB / 1.313 GB, free: 11.34 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.851e-05/0.4327, allocations: 87.28 kB / 1.313 GB, free: 11.25 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4327, allocations: 0 / 1.313 GB, free: 11.25 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002709/0.4329, allocations: 31.98 kB / 1.313 GB, free: 11.22 MB / 1.014 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.0002006/0.4331, allocations: 113.1 kB / 1.313 GB, free: 11.11 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003395/0.4335, allocations: 179 kB / 1.314 GB, free: 10.92 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4335, allocations: 0 / 1.314 GB, free: 10.92 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.729e-05/0.4336, allocations: 55.91 kB / 1.314 GB, free: 10.87 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.4339, allocations: 20.52 kB / 1.314 GB, free: 10.85 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.4343, allocations: 194.6 kB / 1.314 GB, free: 10.63 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.4347, allocations: 0.6887 MB / 1.315 GB, free: 9.918 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.139e-05/0.4347, allocations: 12.48 kB / 1.315 GB, free: 9.906 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.4348, allocations: 19.42 kB / 1.315 GB, free: 9.887 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.4348, allocations: 0 / 1.315 GB, free: 9.887 MB / 1.014 GB Notification: Performance of Templates: time 0.005463/0.4402, allocations: 1.705 MB / 1.316 GB, free: 8.191 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.303927057422698]