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.001782/0.001782, allocations: 81.42 kB / 19.18 MB, free: 2.527 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.002187/0.002187, allocations: 164.6 kB / 22.46 MB, free: 5.359 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.527/1.527, allocations: 177.2 MB / 202.8 MB, free: 9.172 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 2.948/2.948, allocations: 389 MB / 0.633 GB, free: 0.9766 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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 3.396e-06/3.396e-06, allocations: 0 / 1 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.588e-05/3.927e-05, allocations: 4.953 kB / 1 GB, free: 6.18 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001806/0.001845, allocations: 0.6588 MB / 1.001 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.003567, allocations: 1.178 MB / 1.002 GB, free: 4.332 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.43e-05/0.003621, allocations: 0 / 1.002 GB, free: 4.332 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.951e-05/0.003651, allocations: 3.938 kB / 1.002 GB, free: 4.328 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 9.13e-05/0.003742, allocations: 19.84 kB / 1.002 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005363/0.004278, allocations: 146.1 kB / 1.002 GB, free: 4.168 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.004495, allocations: 143.7 kB / 1.002 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.928e-05/0.004584, allocations: 4 kB / 1.002 GB, free: 4.023 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.004729, allocations: 91.86 kB / 1.002 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.004853, allocations: 43.86 kB / 1.002 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.004892, allocations: 16 kB / 1.002 GB, free: 3.875 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.572e-05/0.004968, allocations: 23.98 kB / 1.002 GB, free: 3.852 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 3.76e-05/0.005005, allocations: 19.97 kB / 1.002 GB, free: 3.832 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.559e-05/0.005091, allocations: 47.89 kB / 1.002 GB, free: 3.785 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.005334, allocations: 143.7 kB / 1.003 GB, free: 3.645 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.005337, allocations: 0 / 1.003 GB, free: 3.645 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.132e-06/0.005338, allocations: 0 / 1.003 GB, free: 3.645 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.005343, allocations: 0 / 1.003 GB, free: 3.645 MB / 0.9044 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.0006546/0.005997, allocations: 343.9 kB / 1.003 GB, free: 3.27 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.00604, allocations: 15.98 kB / 1.003 GB, free: 3.254 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.334e-05/0.006103, allocations: 8.891 kB / 1.003 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.006516, allocations: 161.7 kB / 1.003 GB, free: 3.062 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.006544, allocations: 8.359 kB / 1.003 GB, free: 3.055 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.006578, allocations: 16.36 kB / 1.003 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.00678, allocations: 82.2 kB / 1.003 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.00679, allocations: 4.125 kB / 1.003 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.006806, allocations: 4.359 kB / 1.003 GB, free: 2.945 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.006814, allocations: 8.125 kB / 1.003 GB, free: 2.938 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.00692, allocations: 43.91 kB / 1.003 GB, free: 2.895 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000597/0.007517, allocations: 268.4 kB / 1.004 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.007719, allocations: 82.53 kB / 1.004 GB, free: 2.512 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.371e-05/0.007793, allocations: 28.84 kB / 1.004 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.007807, allocations: 96 / 1.004 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003258/0.008132, allocations: 146.5 kB / 1.004 GB, free: 2.328 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.008134, allocations: 0 / 1.004 GB, free: 2.328 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0004409/0.008575, allocations: 197.6 kB / 1.004 GB, free: 2.129 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.008633, allocations: 55.41 kB / 1.004 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.00875, allocations: 121.7 kB / 1.004 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.008792, allocations: 33.7 kB / 1.004 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.3e-05/0.008865, allocations: 88.14 kB / 1.004 GB, free: 1.805 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/0.008912, allocations: 35.72 kB / 1.004 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.952e-05/0.009002, allocations: 45.7 kB / 1.004 GB, free: 1.719 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.009178, allocations: 322.8 kB / 1.005 GB, free: 1.395 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.009325, allocations: 81.58 kB / 1.005 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.009487, allocations: 116 kB / 1.005 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.009696, allocations: 137.9 kB / 1.005 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.009698, allocations: 0 / 1.005 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004053/0.0101, allocations: 247.6 kB / 1.005 GB, free: 0.7617 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/0.01015, allocations: 41.62 kB / 1.005 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01015, allocations: 4.125 kB / 1.005 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.01017, allocations: 4 kB / 1.005 GB, free: 0.707 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.802e-05/0.01025, allocations: 8 kB / 1.005 GB, free: 0.6992 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.01026, allocations: 7.938 kB / 1.005 GB, free: 0.6914 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.01047, allocations: 39.86 kB / 1.005 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.0105, allocations: 11.98 kB / 1.005 GB, free: 0.6406 MB / 0.9044 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.0001356/0.01063, allocations: 122.4 kB / 1.005 GB, free: 0.5117 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.01066, allocations: 19.88 kB / 1.005 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.68e-05/0.01069, allocations: 8.438 kB / 1.005 GB, free: 492 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.0107, allocations: 4 kB / 1.005 GB, free: 488 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.0107, allocations: 0 / 1.005 GB, free: 488 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01071, allocations: 0 / 1.005 GB, free: 488 kB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004646/0.01117, allocations: 374.1 kB / 1.006 GB, free: 76 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01117, allocations: 0 / 1.006 GB, free: 76 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/0.01121, allocations: 7.984 kB / 1.006 GB, free: 68 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01121, allocations: 0 / 1.006 GB, free: 68 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.01122, allocations: 0 / 1.006 GB, free: 68 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.01122, allocations: 7.938 kB / 1.006 GB, free: 60 kB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01123, allocations: 4 kB / 1.006 GB, free: 56 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.01158, allocations: 275.3 kB / 1.006 GB, free: 15.77 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.01159, allocations: 7.953 kB / 1.006 GB, free: 15.76 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.01162, allocations: 0 / 1.006 GB, free: 15.76 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.154e-05/0.01171, allocations: 11.98 kB / 1.006 GB, free: 15.75 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.01177, allocations: 15.97 kB / 1.006 GB, free: 15.73 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.01178, allocations: 8 kB / 1.006 GB, free: 15.73 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.12e-05/0.01186, allocations: 91.55 kB / 1.006 GB, free: 15.64 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.01186, allocations: 0 / 1.006 GB, free: 15.64 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002774/0.01214, allocations: 32 kB / 1.006 GB, free: 15.61 MB / 0.92 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.0001925/0.01233, allocations: 119.2 kB / 1.006 GB, free: 15.48 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003499/0.01268, allocations: 208.9 kB / 1.007 GB, free: 15.26 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01268, allocations: 0 / 1.007 GB, free: 15.26 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.01279, allocations: 47.97 kB / 1.007 GB, free: 15.21 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.01307, allocations: 25.55 kB / 1.007 GB, free: 15.19 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.01351, allocations: 195.6 kB / 1.007 GB, free: 14.97 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.387e-05/0.01358, allocations: 75.59 kB / 1.007 GB, free: 14.88 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.074e-05/0.01362, allocations: 8.484 kB / 1.007 GB, free: 14.87 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.01366, allocations: 16.5 kB / 1.007 GB, free: 14.85 MB / 0.92 GB Notification: Performance of SimCode: time 3.21e-07/0.01366, allocations: 0 / 1.007 GB, free: 14.85 MB / 0.92 GB Notification: Performance of Templates: time 0.005326/0.01899, allocations: 1.761 MB / 1.009 GB, free: 13.12 MB / 0.92 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=800 -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/jenkins/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: 8.303280137479305]