Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_9_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_9_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.00106/0.00106, 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.00109/0.00109, allocations: 193.9 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.44/1.44, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.531/2.531, allocations: 390.2 MB / 0.6647 GB, free: 484 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.00129, allocations: 71.89 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8494/0.8507, allocations: 140.4 MB / 0.9496 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001919/0.8526, allocations: 0.673 MB / 0.9503 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.8539, allocations: 1.156 MB / 0.9514 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.854, allocations: 1.156 kB / 0.9514 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.016e-05/0.854, allocations: 3.938 kB / 0.9514 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.326e-05/0.8541, allocations: 13.14 kB / 0.9514 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004981/0.8546, allocations: 143.1 kB / 0.9515 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.8549, allocations: 147.8 kB / 0.9517 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.855, allocations: 12.83 kB / 0.9517 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.958e-05/0.8551, allocations: 60.45 kB / 0.9517 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.8552, allocations: 45.75 kB / 0.9518 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.913e-05/0.8552, allocations: 13.38 kB / 0.9518 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.222e-05/0.8553, allocations: 31.03 kB / 0.9518 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.356e-05/0.8554, allocations: 20.7 kB / 0.9519 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.25e-05/0.8555, allocations: 55.33 kB / 0.9519 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.8557, allocations: 136.1 kB / 0.952 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.8557, allocations: 0 / 0.952 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.116e-06/0.8557, allocations: 0 / 0.952 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.8557, allocations: 0 / 0.952 GB, free: 7.355 MB / 0.7169 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.000632/0.8563, allocations: 417 kB / 0.9524 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.8564, allocations: 9.625 kB / 0.9524 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.124e-05/0.8565, allocations: 8.594 kB / 0.9525 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.8568, allocations: 217.3 kB / 0.9527 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.8569, allocations: 9.094 kB / 0.9527 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.8569, allocations: 9.938 kB / 0.9527 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.8571, allocations: 85.88 kB / 0.9528 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.8571, allocations: 3.938 kB / 0.9528 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.8571, allocations: 10.3 kB / 0.9528 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.8572, allocations: 1.094 kB / 0.9528 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.421e-05/0.8573, allocations: 35.78 kB / 0.9528 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000546/0.8578, allocations: 353.8 kB / 0.9531 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.858, allocations: 98.61 kB / 0.9532 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.076e-05/0.8581, allocations: 43.98 kB / 0.9533 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.8581, allocations: 3.984 kB / 0.9533 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003128/0.8584, allocations: 127.2 kB / 0.9534 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.8584, allocations: 0 / 0.9534 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004467/0.8589, allocations: 205.6 kB / 0.9536 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.8589, allocations: 54.66 kB / 0.9537 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.947e-05/0.859, allocations: 110.9 kB / 0.9538 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.8591, allocations: 34.27 kB / 0.9538 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.8591, allocations: 95.66 kB / 0.9539 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.8592, allocations: 36.67 kB / 0.9539 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.854e-05/0.8592, allocations: 47.88 kB / 0.954 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.942e-05/0.8593, allocations: 324.9 kB / 0.9543 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.8594, allocations: 45.83 kB / 0.9543 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.8596, allocations: 88.39 kB / 0.9544 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.8597, allocations: 142.5 kB / 0.9545 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8598, allocations: 1.438 kB / 0.9545 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003378/0.8601, allocations: 203.5 kB / 0.9547 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.8601, allocations: 37.92 kB / 0.9548 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.8602, allocations: 5.484 kB / 0.9548 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.8602, allocations: 1.5 kB / 0.9548 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.335e-05/0.8603, allocations: 11.66 kB / 0.9548 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.8603, allocations: 2.812 kB / 0.9548 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.8605, allocations: 34.56 kB / 0.9548 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.8605, allocations: 11.58 kB / 0.9548 GB, free: 4.855 MB / 0.7169 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.0001/0.8606, allocations: 138.4 kB / 0.955 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/0.8607, allocations: 4.938 kB / 0.955 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.8607, allocations: 13.64 kB / 0.955 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.8607, allocations: 1.188 kB / 0.955 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.8607, allocations: 1.094 kB / 0.955 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.8607, allocations: 0 / 0.955 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003935/0.8611, allocations: 437.2 kB / 0.9554 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.8611, allocations: 8 kB / 0.9554 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.26e-05/0.8612, allocations: 8.625 kB / 0.9554 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.8612, allocations: 0 / 0.9554 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.8612, allocations: 10.86 kB / 0.9554 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.8612, allocations: 0 / 0.9554 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.8612, allocations: 1.406 kB / 0.9554 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.8615, allocations: 262.2 kB / 0.9557 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.873e-05/0.8615, allocations: 84.62 kB / 0.9558 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.8616, allocations: 7.531 kB / 0.9558 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.288e-05/0.8616, allocations: 11.48 kB / 0.9558 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.8617, allocations: 11.39 kB / 0.9558 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.8617, allocations: 15.7 kB / 0.9558 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.903e-05/0.8618, allocations: 90.2 kB / 0.9559 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8618, allocations: 0 / 0.9559 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002819/0.862, allocations: 33.77 kB / 0.9559 GB, free: 3.883 MB / 0.7169 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.0001775/0.8622, allocations: 106.5 kB / 0.956 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003495/0.8626, allocations: 200.7 kB / 0.9562 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.8626, allocations: 0 / 0.9562 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.8627, allocations: 75.91 kB / 0.9563 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.863, allocations: 14.86 kB / 0.9563 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003948/0.8634, allocations: 208.6 kB / 0.9565 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.8636, allocations: 0.6937 MB / 0.9572 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.479e-05/0.8636, allocations: 10.11 kB / 0.9572 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.8637, allocations: 12.94 kB / 0.9572 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.8637, allocations: 1.281 kB / 0.9572 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of Templates: time 0.004592/0.8683, allocations: 1.646 MB / 0.9588 GB, free: 1.891 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches