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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 69.11 kB / 20.65 MB, free: 3.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9809/0.9809, allocations: 177.1 MB / 204.5 MB, free: 4.992 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.113/2.113, allocations: 429.5 MB / 0.6743 GB, free: 3.871 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 1.094 kB / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.763e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001184/0.001201, allocations: 0.6769 MB / 0.8801 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.002424, allocations: 1.202 MB / 0.8812 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.252e-05/0.002467, allocations: 4 kB / 0.8813 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.606e-05/0.002493, allocations: 4.938 kB / 0.8813 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.848e-05/0.002561, allocations: 13.5 kB / 0.8813 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.002935, allocations: 140.7 kB / 0.8814 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.003093, allocations: 145.1 kB / 0.8815 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.181e-05/0.003165, allocations: 7.984 kB / 0.8815 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.003267, allocations: 87.86 kB / 0.8816 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.905e-05/0.003366, allocations: 37.03 kB / 0.8817 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.003392, allocations: 12 kB / 0.8817 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.666e-05/0.003448, allocations: 27.97 kB / 0.8817 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.662e-05/0.003475, allocations: 19.33 kB / 0.8817 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.821e-05/0.003523, allocations: 43.95 kB / 0.8818 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.003659, allocations: 103.7 kB / 0.8819 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.003662, allocations: 0 / 0.8819 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003663, allocations: 0 / 0.8819 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.003667, allocations: 0 / 0.8819 GB, free: 3.508 MB / 0.8386 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.0004368/0.004104, allocations: 450 kB / 0.8823 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.004139, allocations: 8.031 kB / 0.8823 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.004186, allocations: 25.47 kB / 0.8823 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.004325, allocations: 132.5 kB / 0.8825 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.004349, allocations: 9.844 kB / 0.8825 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.004368, allocations: 12.36 kB / 0.8825 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.004469, allocations: 86.89 kB / 0.8826 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.004475, allocations: 192 / 0.8826 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.004484, allocations: 1.906 kB / 0.8826 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.004488, allocations: 384 / 0.8826 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.056e-05/0.004528, allocations: 39.78 kB / 0.8826 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.004848, allocations: 316.2 kB / 0.8829 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.98e-05/0.004948, allocations: 75 kB / 0.883 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.648e-05/0.004975, allocations: 27.7 kB / 0.883 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-06/0.004981, allocations: 4 kB / 0.883 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.005114, allocations: 117.1 kB / 0.8831 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.005116, allocations: 0 / 0.8831 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0002285/0.005344, allocations: 173.5 kB / 0.8833 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.005377, allocations: 63.33 kB / 0.8833 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.124e-05/0.005448, allocations: 165.9 kB / 0.8835 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.00547, allocations: 33.7 kB / 0.8835 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.005519, allocations: 138.8 kB / 0.8837 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.005543, allocations: 35.78 kB / 0.8837 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.005597, allocations: 47.34 kB / 0.8837 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.005702, allocations: 0.4923 MB / 0.8842 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.652e-05/0.005759, allocations: 57.67 kB / 0.8843 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.425e-05/0.005833, allocations: 118.9 kB / 0.8844 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.005934, allocations: 135.3 kB / 0.8845 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.005935, allocations: 0 / 0.8845 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001907/0.006126, allocations: 212.9 kB / 0.8847 GB, free: 316 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.006153, allocations: 41.69 kB / 0.8848 GB, free: 268 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.006159, allocations: 7.938 kB / 0.8848 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/0.006168, allocations: 0 / 0.8848 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.862e-05/0.006216, allocations: 16.06 kB / 0.8848 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.006219, allocations: 4 kB / 0.8848 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.006325, allocations: 31.91 kB / 0.8848 GB, free: 208 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.006339, allocations: 8 kB / 0.8848 GB, free: 200 kB / 0.8386 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.247e-05/0.006421, allocations: 177.6 kB / 0.885 GB, free: 12 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.006449, allocations: 16 kB / 0.885 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.438e-05/0.006473, allocations: 20.31 kB / 0.885 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.006476, allocations: 3.984 kB / 0.885 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.006478, allocations: 4 kB / 0.885 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.006481, allocations: 0 / 0.885 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.006722, allocations: 386 kB / 0.8854 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.006724, allocations: 0 / 0.8854 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.786e-05/0.006742, allocations: 7.938 kB / 0.8854 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.006745, allocations: 4 kB / 0.8854 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.006754, allocations: 11.92 kB / 0.8854 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.006755, allocations: 0 / 0.8854 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006756, allocations: 0 / 0.8854 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.006921, allocations: 299.6 kB / 0.8857 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.006931, allocations: 15.92 kB / 0.8857 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.006948, allocations: 7.938 kB / 0.8857 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.467e-05/0.006992, allocations: 7.984 kB / 0.8857 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.007031, allocations: 15.97 kB / 0.8858 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.007039, allocations: 4 kB / 0.8858 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.573e-05/0.007075, allocations: 131.2 kB / 0.8859 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007075, allocations: 4 kB / 0.8859 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001912/0.007266, allocations: 24 kB / 0.8859 GB, free: 15.02 MB / 0.8542 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.0001165/0.007383, allocations: 115.2 kB / 0.886 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001879/0.007571, allocations: 192.7 kB / 0.8862 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.007572, allocations: 0 / 0.8862 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.78e-05/0.00762, allocations: 55.58 kB / 0.8863 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.007799, allocations: 17.88 kB / 0.8863 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/0.008039, allocations: 186.4 kB / 0.8865 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.723e-05/0.008076, allocations: 63.38 kB / 0.8865 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.83e-05/0.008104, allocations: 12.73 kB / 0.8865 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.819e-05/0.008192, allocations: 98.17 kB / 0.8866 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of SimCode: time 8.01e-07/0.008193, allocations: 0 / 0.8866 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of Templates: time 0.003291/0.01148, allocations: 1.942 MB / 0.8885 GB, free: 12.3 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.439110748935491]