Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001394/0.001394, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001474/0.001474, allocations: 162.8 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.556/1.556, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.922/2.922, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.925e-06/2.925e-06, allocations: 0 / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.281e-05/3.574e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002733/0.002769, allocations: 0.6588 MB / 0.9821 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002362/0.005131, allocations: 1.182 MB / 0.9832 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.275e-05/0.005204, allocations: 4 kB / 0.9832 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.396e-05/0.005248, allocations: 3.938 kB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.005355, allocations: 11.86 kB / 0.9833 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007592/0.006114, allocations: 146.8 kB / 0.9834 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000318/0.006432, allocations: 143.7 kB / 0.9835 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.006548, allocations: 12 kB / 0.9835 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.00678, allocations: 79.92 kB / 0.9836 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.006962, allocations: 47.86 kB / 0.9837 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.105e-05/0.007023, allocations: 16 kB / 0.9837 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.007126, allocations: 19.98 kB / 0.9837 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.007169, allocations: 19.97 kB / 0.9837 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.00729, allocations: 51.83 kB / 0.9838 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00036/0.00765, allocations: 151.6 kB / 0.9839 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.007655, allocations: 0 / 0.9839 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.042e-06/0.007656, allocations: 0 / 0.9839 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.007663, allocations: 0 / 0.9839 GB, free: 9.441 MB / 0.9356 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.0008857/0.008549, allocations: 347.8 kB / 0.9842 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.008588, allocations: 16.03 kB / 0.9843 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.475e-05/0.008673, allocations: 12.88 kB / 0.9843 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005789/0.009252, allocations: 149.9 kB / 0.9844 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.009283, allocations: 4.375 kB / 0.9844 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.608e-05/0.009339, allocations: 16.36 kB / 0.9844 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.009586, allocations: 78.2 kB / 0.9845 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.009596, allocations: 192 / 0.9845 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.009617, allocations: 8.359 kB / 0.9845 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.009628, allocations: 8.125 kB / 0.9845 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.009773, allocations: 47.91 kB / 0.9846 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008189/0.01059, allocations: 276.4 kB / 0.9848 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.01084, allocations: 74.55 kB / 0.9849 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.66e-05/0.01094, allocations: 36.84 kB / 0.9849 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.01095, allocations: 3.984 kB / 0.9849 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003815/0.01134, allocations: 127.3 kB / 0.9851 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 2.344e-06/0.01134, allocations: 4 kB / 0.9851 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0005809/0.01192, allocations: 201.6 kB / 0.9853 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.01198, allocations: 59.41 kB / 0.9853 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.01211, allocations: 109.8 kB / 0.9854 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.01216, allocations: 33.7 kB / 0.9855 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.531e-05/0.01224, allocations: 96.06 kB / 0.9856 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.01229, allocations: 27.95 kB / 0.9856 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.01242, allocations: 49.69 kB / 0.9856 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.0126, allocations: 318.8 kB / 0.9859 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.01279, allocations: 81.67 kB / 0.986 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.01302, allocations: 118.5 kB / 0.9861 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.0133, allocations: 137.9 kB / 0.9863 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.0133, allocations: 0 / 0.9863 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005765/0.01388, allocations: 255.2 kB / 0.9865 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/0.01392, allocations: 33.64 kB / 0.9865 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.01393, allocations: 4 kB / 0.9865 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.01395, allocations: 4.125 kB / 0.9865 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-05/0.01405, allocations: 11.98 kB / 0.9865 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.01406, allocations: 7.938 kB / 0.9866 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.01436, allocations: 39.86 kB / 0.9866 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.0144, allocations: 7.984 kB / 0.9866 GB, free: 6.449 MB / 0.9356 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.0001516/0.01455, allocations: 125.8 kB / 0.9867 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.01458, allocations: 11.89 kB / 0.9867 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.757e-05/0.01463, allocations: 16.42 kB / 0.9867 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.01464, allocations: 7.984 kB / 0.9868 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.01464, allocations: 0 / 0.9868 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.01465, allocations: 0 / 0.9868 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005941/0.01524, allocations: 378.1 kB / 0.9871 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01524, allocations: 0 / 0.9871 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-05/0.01528, allocations: 4 kB / 0.9871 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.01529, allocations: 0 / 0.9871 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.01531, allocations: 3.984 kB / 0.9871 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.01531, allocations: 0 / 0.9871 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01531, allocations: 4 kB / 0.9871 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/0.01574, allocations: 271.3 kB / 0.9874 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.01577, allocations: 11.94 kB / 0.9874 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.0158, allocations: 4 kB / 0.9874 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.01594, allocations: 11.98 kB / 0.9874 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.224e-05/0.01602, allocations: 11.97 kB / 0.9874 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.01604, allocations: 12 kB / 0.9874 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.185e-05/0.01611, allocations: 91.2 kB / 0.9875 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.01611, allocations: 0 / 0.9875 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004647/0.01658, allocations: 31.94 kB / 0.9876 GB, free: 5.41 MB / 0.9356 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.0002481/0.01682, allocations: 115.2 kB / 0.9877 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004273/0.01725, allocations: 214.4 kB / 0.9879 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.01725, allocations: 0 / 0.9879 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.0174, allocations: 43.97 kB / 0.9879 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/0.01786, allocations: 19.92 kB / 0.9879 GB, free: 5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000592/0.01845, allocations: 181.3 kB / 0.9881 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.01858, allocations: 91.31 kB / 0.9882 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.229e-05/0.01864, allocations: 12.48 kB / 0.9882 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.594e-05/0.01868, allocations: 16.5 kB / 0.9882 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/0.01868, allocations: 3.938 kB / 0.9882 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of Templates: time 0.007494/0.02618, allocations: 1.755 MB / 0.9899 GB, free: 2.941 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.397248677909374]