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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 109.1 kB / 18.19 MB, free: 4.02 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 184.5 kB / 21.33 MB, free: 0.8828 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 225.6 MB / 249.9 MB, free: 3.215 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.676/2.676, allocations: 489.7 MB / 0.7761 GB, free: 2.391 MB / 0.6075 GB [Timeout remaining time 87] 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=540,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=540,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") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 67.89 kB / 1.127 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8172/0.819, allocations: 172.1 MB / 1.295 GB, free: 38.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001518/0.8206, allocations: 0.6737 MB / 1.296 GB, free: 38.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009569/0.8215, allocations: 1.165 MB / 1.297 GB, free: 37.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.279e-05/0.8216, allocations: 0 / 1.297 GB, free: 37.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.178e-05/0.8216, allocations: 3.938 kB / 1.297 GB, free: 37.45 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.405e-05/0.8216, allocations: 13.98 kB / 1.297 GB, free: 37.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003864/0.822, allocations: 145.6 kB / 1.297 GB, free: 37.37 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.8222, allocations: 143.9 kB / 1.297 GB, free: 37.31 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.641e-05/0.8222, allocations: 10.62 kB / 1.297 GB, free: 37.3 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.982e-05/0.8223, allocations: 57.53 kB / 1.297 GB, free: 37.28 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.49e-05/0.8224, allocations: 54.58 kB / 1.297 GB, free: 37.26 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.8224, allocations: 13.56 kB / 1.297 GB, free: 37.26 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.785e-05/0.8225, allocations: 30.75 kB / 1.297 GB, free: 37.25 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.8225, allocations: 25.08 kB / 1.297 GB, free: 37.23 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.459e-05/0.8225, allocations: 43.91 kB / 1.297 GB, free: 37.21 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.8227, allocations: 131.4 kB / 1.297 GB, free: 37.17 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8227, allocations: 3.375 kB / 1.297 GB, free: 37.17 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8227, allocations: 0 / 1.297 GB, free: 37.17 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.8227, allocations: 0 / 1.297 GB, free: 37.17 MB / 1.061 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.0004563/0.8231, allocations: 431 kB / 1.298 GB, free: 36.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.671e-05/0.8232, allocations: 8.719 kB / 1.298 GB, free: 36.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/0.8232, allocations: 6.844 kB / 1.298 GB, free: 36.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.8235, allocations: 211.6 kB / 1.298 GB, free: 36.54 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.8235, allocations: 6.219 kB / 1.298 GB, free: 36.54 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.8236, allocations: 20.73 kB / 1.298 GB, free: 36.54 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.8237, allocations: 85.25 kB / 1.298 GB, free: 36.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.8237, allocations: 6.719 kB / 1.298 GB, free: 36.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.8237, allocations: 3.281 kB / 1.298 GB, free: 36.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.8237, allocations: 0 / 1.298 GB, free: 36.48 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.188e-05/0.8238, allocations: 38.92 kB / 1.298 GB, free: 36.47 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.8242, allocations: 355.8 kB / 1.298 GB, free: 36.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.8244, allocations: 83.36 kB / 1.299 GB, free: 36.12 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.741e-05/0.8244, allocations: 30.47 kB / 1.299 GB, free: 36.1 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.8244, allocations: 3.984 kB / 1.299 GB, free: 36.1 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.8246, allocations: 128.7 kB / 1.299 GB, free: 36.03 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.8246, allocations: 0 / 1.299 GB, free: 36.03 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0002957/0.8249, allocations: 209.1 kB / 1.299 GB, free: 35.94 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.8249, allocations: 58.77 kB / 1.299 GB, free: 35.87 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.336e-05/0.825, allocations: 117 kB / 1.299 GB, free: 35.76 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.825, allocations: 32.58 kB / 1.299 GB, free: 35.73 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.825, allocations: 90.3 kB / 1.299 GB, free: 35.64 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.825, allocations: 36.97 kB / 1.299 GB, free: 35.61 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.18e-05/0.8251, allocations: 42.14 kB / 1.299 GB, free: 35.59 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.909e-05/0.8251, allocations: 325 kB / 1.3 GB, free: 35.27 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.533e-05/0.8252, allocations: 47.98 kB / 1.3 GB, free: 35.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.053e-05/0.8253, allocations: 91.3 kB / 1.3 GB, free: 35.19 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.8254, allocations: 142.2 kB / 1.3 GB, free: 35.08 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8254, allocations: 0 / 1.3 GB, free: 35.08 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002555/0.8257, allocations: 212.2 kB / 1.3 GB, free: 34.96 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.8257, allocations: 35.45 kB / 1.3 GB, free: 34.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.8257, allocations: 2.719 kB / 1.3 GB, free: 34.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.8257, allocations: 2.438 kB / 1.3 GB, free: 34.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.859e-05/0.8258, allocations: 11.86 kB / 1.3 GB, free: 34.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.8258, allocations: 0 / 1.3 GB, free: 34.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.826, allocations: 37.31 kB / 1.3 GB, free: 34.92 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.826, allocations: 7.906 kB / 1.3 GB, free: 34.92 MB / 1.061 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 6.549e-05/0.8261, allocations: 137.9 kB / 1.3 GB, free: 34.79 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.8261, allocations: 9.453 kB / 1.3 GB, free: 34.79 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.8261, allocations: 8.5 kB / 1.3 GB, free: 34.78 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.8261, allocations: 2.625 kB / 1.3 GB, free: 34.78 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.8261, allocations: 4 kB / 1.3 GB, free: 34.77 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8261, allocations: 7.375 kB / 1.3 GB, free: 34.77 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.8264, allocations: 431.8 kB / 1.301 GB, free: 34.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.8264, allocations: 3.469 kB / 1.301 GB, free: 34.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.667e-05/0.8264, allocations: 9 kB / 1.301 GB, free: 34.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8264, allocations: 3.938 kB / 1.301 GB, free: 34.41 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.8264, allocations: 6.406 kB / 1.301 GB, free: 34.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.8264, allocations: 3.375 kB / 1.301 GB, free: 34.4 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8264, allocations: 0 / 1.301 GB, free: 34.4 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.8266, allocations: 261.4 kB / 1.301 GB, free: 34.23 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.538e-05/0.8266, allocations: 83.47 kB / 1.301 GB, free: 34.13 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.8266, allocations: 6.75 kB / 1.301 GB, free: 34.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.054e-05/0.8267, allocations: 10.03 kB / 1.301 GB, free: 34.12 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.8268, allocations: 14.91 kB / 1.301 GB, free: 34.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.8268, allocations: 17.09 kB / 1.301 GB, free: 34.11 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.115e-05/0.8268, allocations: 78.06 kB / 1.301 GB, free: 34.04 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.8268, allocations: 2.656 kB / 1.301 GB, free: 34.04 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002464/0.827, allocations: 37.09 kB / 1.301 GB, free: 34.03 MB / 1.061 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.000117/0.8272, allocations: 112.6 kB / 1.301 GB, free: 33.94 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000228/0.8274, allocations: 170.5 kB / 1.301 GB, free: 33.84 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8274, allocations: 0 / 1.301 GB, free: 33.84 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.94e-05/0.8275, allocations: 59.2 kB / 1.302 GB, free: 33.82 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.8277, allocations: 21.12 kB / 1.302 GB, free: 33.81 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.828, allocations: 224.6 kB / 1.302 GB, free: 33.64 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.794e-05/0.8281, allocations: 0.6897 MB / 1.302 GB, free: 32.94 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.8281, allocations: 13.31 kB / 1.302 GB, free: 32.94 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.8281, allocations: 0 / 1.302 GB, free: 32.94 MB / 1.061 GB Notification: Performance of Templates: time 0.002466/0.8306, allocations: 1.461 MB / 1.304 GB, free: 32.8 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] "" 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