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.000878/0.0008776, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007102/0.007102, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.454/1.454, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.526/2.526, allocations: 390.9 MB / 0.6663 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004297, allocations: 16.28 kB / 0.816 GB, free: 13.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.902/0.9024, allocations: 142.4 MB / 0.9551 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.0009521/0.9035, allocations: 403.7 kB / 0.9554 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001779/0.9053, allocations: 1.156 MB / 0.9566 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.101e-05/0.9053, allocations: 1.188 kB / 0.9566 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.9054, allocations: 3.938 kB / 0.9566 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.691e-05/0.9055, allocations: 9.391 kB / 0.9566 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005881/0.9061, allocations: 131.2 kB / 0.9567 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.9063, allocations: 134.2 kB / 0.9568 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.9064, allocations: 12.17 kB / 0.9568 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.9065, allocations: 41.31 kB / 0.9569 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.9066, allocations: 52.64 kB / 0.9569 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.9067, allocations: 6.438 kB / 0.9569 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.278e-05/0.9068, allocations: 21.14 kB / 0.957 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.9068, allocations: 16.58 kB / 0.957 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.397e-05/0.9069, allocations: 75.03 kB / 0.957 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.9071, allocations: 120.2 kB / 0.9572 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.9071, allocations: 0 / 0.9572 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9071, allocations: 0 / 0.9572 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.9071, allocations: 0 / 0.9572 GB, free: 6.25 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.0006083/0.9077, allocations: 405.3 kB / 0.9575 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.9078, allocations: 8.75 kB / 0.9576 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.9079, allocations: 7.75 kB / 0.9576 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003988/0.9083, allocations: 219.3 kB / 0.9578 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.9083, allocations: 13.11 kB / 0.9578 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/0.9084, allocations: 10.06 kB / 0.9578 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.9085, allocations: 86.19 kB / 0.9579 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.9085, allocations: 7.938 kB / 0.9579 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.9086, allocations: 5.094 kB / 0.9579 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.9086, allocations: 4.984 kB / 0.9579 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.03e-05/0.9087, allocations: 40.91 kB / 0.9579 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005404/0.9092, allocations: 364.6 kB / 0.9583 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.9094, allocations: 98.14 kB / 0.9584 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.237e-05/0.9095, allocations: 39.78 kB / 0.9584 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.9095, allocations: 0 / 0.9584 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/0.9097, allocations: 136.1 kB / 0.9585 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.9097, allocations: 0 / 0.9585 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0003885/0.9101, allocations: 201.9 kB / 0.9587 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.9102, allocations: 54.44 kB / 0.9588 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.783e-05/0.9102, allocations: 115.1 kB / 0.9589 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.9103, allocations: 33.23 kB / 0.9589 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.9103, allocations: 87.83 kB / 0.959 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.9103, allocations: 35.34 kB / 0.959 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.9104, allocations: 30.89 kB / 0.9591 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.62e-05/0.9105, allocations: 324.5 kB / 0.9594 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.686e-05/0.9106, allocations: 44.8 kB / 0.9594 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.9107, allocations: 87.88 kB / 0.9595 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.9108, allocations: 143.9 kB / 0.9596 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9108, allocations: 0 / 0.9596 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000321/0.9112, allocations: 207.1 kB / 0.9598 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.334e-05/0.9112, allocations: 37.95 kB / 0.9599 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.9112, allocations: 1.375 kB / 0.9599 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.9112, allocations: 1.375 kB / 0.9599 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.408e-05/0.9113, allocations: 16.17 kB / 0.9599 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.9113, allocations: 5.5 kB / 0.9599 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.9115, allocations: 38.22 kB / 0.9599 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.9116, allocations: 14.86 kB / 0.96 GB, free: 3.754 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 8.354e-05/0.9117, allocations: 131.3 kB / 0.9601 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.9117, allocations: 12.03 kB / 0.9601 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.322e-05/0.9117, allocations: 13.86 kB / 0.9601 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.9117, allocations: 1.375 kB / 0.9601 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.9117, allocations: 0 / 0.9601 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.9118, allocations: 1.375 kB / 0.9601 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.9121, allocations: 436.1 kB / 0.9605 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.9121, allocations: 3.938 kB / 0.9605 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.984e-05/0.9122, allocations: 8.125 kB / 0.9605 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.9122, allocations: 1.375 kB / 0.9605 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.9122, allocations: 5.359 kB / 0.9605 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.9122, allocations: 1.375 kB / 0.9605 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.9122, allocations: 0 / 0.9605 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.9124, allocations: 263.2 kB / 0.9608 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.9125, allocations: 83.98 kB / 0.9609 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.9125, allocations: 6.109 kB / 0.9609 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.867e-05/0.9126, allocations: 16.95 kB / 0.9609 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.9127, allocations: 10.61 kB / 0.9609 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.9127, allocations: 12.55 kB / 0.9609 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.452e-05/0.9127, allocations: 89.3 kB / 0.961 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9127, allocations: 3.938 kB / 0.961 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002813/0.913, allocations: 32.44 kB / 0.961 GB, free: 2.789 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.0001725/0.9132, allocations: 120.2 kB / 0.9612 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000304/0.9135, allocations: 191.1 kB / 0.9613 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9135, allocations: 0 / 0.9613 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.9136, allocations: 73.56 kB / 0.9614 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.9139, allocations: 17.8 kB / 0.9614 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00038/0.9143, allocations: 213.9 kB / 0.9616 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.9145, allocations: 0.6988 MB / 0.9623 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.371e-05/0.9145, allocations: 5.938 kB / 0.9623 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.9145, allocations: 13.25 kB / 0.9623 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of SimCode: time 5.31e-07/0.9145, allocations: 0 / 0.9623 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of Templates: time 0.004633/0.9192, allocations: 1.513 MB / 0.9638 GB, free: 0.8555 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