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.001808/0.001808, allocations: 78.64 kB / 19.76 MB, free: 1.875 MB / 14.72 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.002228/0.002228, allocations: 164.9 kB / 23.01 MB, free: 4.598 MB / 14.72 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 1.44/1.44, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] 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 3.001/3.001, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 70.38 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056/1.059, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002147/1.061, allocations: 0.669 MB / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001753/1.063, allocations: 1.17 MB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.418e-05/1.063, allocations: 0 / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.141e-05/1.063, allocations: 3.938 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.305e-05/1.063, allocations: 8.953 kB / 1.188 GB, free: 14.94 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006013/1.063, allocations: 152.6 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002271/1.064, allocations: 144.4 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.389e-05/1.064, allocations: 15.89 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.044e-05/1.064, allocations: 55.38 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/1.064, allocations: 45.64 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/1.064, allocations: 13.69 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.928e-05/1.064, allocations: 25.67 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.503e-05/1.064, allocations: 20.98 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.588e-05/1.064, allocations: 46.73 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002462/1.064, allocations: 135.7 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.064, allocations: 0 / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.034e-06/1.064, allocations: 1.125 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.186e-06/1.064, allocations: 0.6094 kB / 1.189 GB, free: 14.66 MB / 1.076 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.0005764/1.065, allocations: 337.6 kB / 1.189 GB, free: 14.35 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/1.065, allocations: 8.906 kB / 1.189 GB, free: 14.35 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/1.065, allocations: 12.36 kB / 1.189 GB, free: 14.35 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/1.065, allocations: 157.3 kB / 1.19 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/1.065, allocations: 11.2 kB / 1.19 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/1.065, allocations: 15.77 kB / 1.19 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/1.066, allocations: 80.36 kB / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/1.066, allocations: 3.938 kB / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/1.066, allocations: 7.781 kB / 1.19 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/1.066, allocations: 1.094 kB / 1.19 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/1.066, allocations: 39.91 kB / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/1.066, allocations: 273.6 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/1.067, allocations: 81.42 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.53e-05/1.067, allocations: 39.2 kB / 1.19 GB, free: 13.84 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/1.067, allocations: 1.125 kB / 1.19 GB, free: 13.84 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002757/1.067, allocations: 123.7 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/1.067, allocations: 0 / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0003937/1.067, allocations: 203.5 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/1.067, allocations: 60.5 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.086e-05/1.067, allocations: 119 kB / 1.191 GB, free: 13.51 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/1.067, allocations: 38.89 kB / 1.191 GB, free: 13.47 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/1.067, allocations: 88.81 kB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/1.067, allocations: 35.06 kB / 1.191 GB, free: 13.36 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.419e-05/1.068, allocations: 46.22 kB / 1.191 GB, free: 13.33 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.216e-05/1.068, allocations: 320.6 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/1.068, allocations: 81.62 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/1.068, allocations: 113.9 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/1.068, allocations: 134.3 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.068, allocations: 9.031 kB / 1.191 GB, free: 12.76 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003282/1.068, allocations: 240.6 kB / 1.192 GB, free: 12.61 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/1.068, allocations: 39.17 kB / 1.192 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/1.068, allocations: 1.219 kB / 1.192 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/1.068, allocations: 2.344 kB / 1.192 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/1.068, allocations: 13.33 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/1.068, allocations: 5.156 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/1.069, allocations: 33.7 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/1.069, allocations: 12.7 kB / 1.192 GB, free: 12.56 MB / 1.076 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.397e-05/1.069, allocations: 133.7 kB / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/1.069, allocations: 9.547 kB / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/1.069, allocations: 15.03 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/1.069, allocations: 1.094 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.069, allocations: 4.594 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.069, allocations: 6.188 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/1.069, allocations: 377.7 kB / 1.192 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.069, allocations: 0 / 1.192 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.055e-05/1.069, allocations: 9.672 kB / 1.192 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/1.069, allocations: 0.5156 kB / 1.192 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/1.069, allocations: 3.562 kB / 1.192 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.069, allocations: 1.438 kB / 1.192 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.069, allocations: 5.984 kB / 1.192 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/1.069, allocations: 272.4 kB / 1.193 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/1.069, allocations: 8.156 kB / 1.193 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/1.07, allocations: 4.359 kB / 1.193 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.846e-05/1.07, allocations: 5.969 kB / 1.193 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/1.07, allocations: 21.11 kB / 1.193 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/1.07, allocations: 6.969 kB / 1.193 GB, free: 11.91 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.975e-05/1.07, allocations: 90.83 kB / 1.193 GB, free: 11.83 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.07, allocations: 1.062 kB / 1.193 GB, free: 11.83 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002801/1.07, allocations: 32.66 kB / 1.193 GB, free: 11.83 MB / 1.076 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.000138/1.07, allocations: 106.7 kB / 1.193 GB, free: 11.74 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003092/1.07, allocations: 209.7 kB / 1.193 GB, free: 11.6 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.07, allocations: 1.125 kB / 1.193 GB, free: 11.6 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.764e-05/1.071, allocations: 55.88 kB / 1.193 GB, free: 11.58 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/1.071, allocations: 23.02 kB / 1.193 GB, free: 11.57 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003698/1.071, allocations: 195.7 kB / 1.193 GB, free: 11.43 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.127e-05/1.071, allocations: 74.39 kB / 1.193 GB, free: 11.36 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.047e-05/1.071, allocations: 12.05 kB / 1.193 GB, free: 11.35 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/1.071, allocations: 14.55 kB / 1.193 GB, free: 11.34 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/1.071, allocations: 1.094 kB / 1.193 GB, free: 11.34 MB / 1.076 GB Notification: Performance of Templates: time 0.005498/1.077, allocations: 1.746 MB / 1.195 GB, free: 11.14 MB / 1.076 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 800] 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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.205104053020477]