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.002296/0.002296, allocations: 85.48 kB / 19.44 MB, free: 332 kB / 13.93 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.002088/0.002088, allocations: 173.2 kB / 22.76 MB, free: 1.656 MB / 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 1.597/1.597, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 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.422/3.422, allocations: 429.5 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] 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 3.487e-06/3.487e-06, allocations: 0 / 0.8775 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.135e-05/4.483e-05, allocations: 3.562 kB / 0.8775 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002653/0.002698, allocations: 0.6809 MB / 0.8781 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002444/0.005141, allocations: 1.179 MB / 0.8793 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.579e-05/0.005197, allocations: 1.094 kB / 0.8793 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.355e-05/0.005231, allocations: 3.938 kB / 0.8793 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.005347, allocations: 13.3 kB / 0.8793 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00065/0.005997, allocations: 144.6 kB / 0.8794 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.006305, allocations: 145 kB / 0.8796 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.00642, allocations: 8 kB / 0.8796 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.006616, allocations: 79.86 kB / 0.8797 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.006776, allocations: 45.61 kB / 0.8797 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.057e-05/0.006826, allocations: 12 kB / 0.8797 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.006928, allocations: 31.97 kB / 0.8797 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.006973, allocations: 15.92 kB / 0.8798 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.007088, allocations: 43.95 kB / 0.8798 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.007436, allocations: 162.4 kB / 0.88 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.007441, allocations: 0 / 0.88 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.92e-07/0.007442, allocations: 0 / 0.88 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.007447, allocations: 0 / 0.88 GB, free: 4.105 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.0009317/0.008378, allocations: 445.7 kB / 0.8804 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.008428, allocations: 12.03 kB / 0.8804 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.00853, allocations: 20.92 kB / 0.8804 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004966/0.009026, allocations: 155 kB / 0.8806 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/0.009058, allocations: 4.375 kB / 0.8806 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.009102, allocations: 12.38 kB / 0.8806 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.00935, allocations: 86.19 kB / 0.8807 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.009362, allocations: 192 / 0.8807 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.009383, allocations: 4.875 kB / 0.8807 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.009397, allocations: 9.75 kB / 0.8807 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.009553, allocations: 47.89 kB / 0.8807 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008378/0.01039, allocations: 340.9 kB / 0.881 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.01069, allocations: 103 kB / 0.8811 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.01081, allocations: 43.67 kB / 0.8812 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.01083, allocations: 1.594 kB / 0.8812 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003634/0.01119, allocations: 144.9 kB / 0.8813 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.794e-06/0.01119, allocations: 4 kB / 0.8813 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0006293/0.01182, allocations: 209.6 kB / 0.8815 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.01189, allocations: 55.41 kB / 0.8816 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.01211, allocations: 177.9 kB / 0.8817 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.359e-05/0.01216, allocations: 37.69 kB / 0.8818 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.01229, allocations: 138.8 kB / 0.8819 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.146e-05/0.01235, allocations: 28 kB / 0.8819 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.01249, allocations: 59.34 kB / 0.882 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003644/0.01286, allocations: 0.4923 MB / 0.8825 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005027/0.01336, allocations: 89.62 kB / 0.8826 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.01363, allocations: 142.3 kB / 0.8827 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/0.01395, allocations: 163 kB / 0.8829 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.01396, allocations: 0 / 0.8829 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006403/0.0146, allocations: 260.8 kB / 0.8831 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.045e-05/0.01466, allocations: 37.69 kB / 0.8831 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.01467, allocations: 4 kB / 0.8831 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.01469, allocations: 4.125 kB / 0.8831 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.01481, allocations: 19.94 kB / 0.8832 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.01482, allocations: 4 kB / 0.8832 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/0.01508, allocations: 27.91 kB / 0.8832 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.01511, allocations: 12 kB / 0.8832 GB, free: 500 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 0.0001915/0.0153, allocations: 168.6 kB / 0.8834 GB, free: 320 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/0.01536, allocations: 23.89 kB / 0.8834 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.503e-05/0.0154, allocations: 8.438 kB / 0.8834 GB, free: 288 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.01541, allocations: 11.94 kB / 0.8834 GB, free: 276 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.01541, allocations: 0 / 0.8834 GB, free: 276 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.01542, allocations: 3.984 kB / 0.8834 GB, free: 272 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007411/0.01616, allocations: 441.2 kB / 0.8838 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01616, allocations: 0 / 0.8838 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-05/0.0162, allocations: 4 kB / 0.8838 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.0162, allocations: 0 / 0.8838 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.01623, allocations: 7.984 kB / 0.8838 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.01623, allocations: 0 / 0.8838 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.01623, allocations: 0 / 0.8838 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005312/0.01676, allocations: 331.8 kB / 0.8842 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.665e-05/0.01678, allocations: 11.95 kB / 0.8842 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.01681, allocations: 0 / 0.8842 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.01695, allocations: 11.98 kB / 0.8842 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.158e-05/0.01703, allocations: 15.97 kB / 0.8842 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.01705, allocations: 8 kB / 0.8842 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001246/0.01717, allocations: 135.2 kB / 0.8843 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.01717, allocations: 0 / 0.8843 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004439/0.01762, allocations: 35.94 kB / 0.8844 GB, free: 15.22 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.0002583/0.01788, allocations: 110.5 kB / 0.8845 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005601/0.01844, allocations: 252.7 kB / 0.8847 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.01844, allocations: 0 / 0.8847 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.01861, allocations: 63.66 kB / 0.8848 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.01905, allocations: 26.36 kB / 0.8848 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005844/0.01964, allocations: 194.4 kB / 0.885 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.01975, allocations: 75.58 kB / 0.8851 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.467e-05/0.01981, allocations: 12.48 kB / 0.8851 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.048e-05/0.01987, allocations: 20.5 kB / 0.8851 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of SimCode: time 7.32e-07/0.01987, allocations: 0 / 0.8851 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.007446/0.02731, allocations: 1.772 MB / 0.8868 GB, free: 12.67 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","/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.600042434991337]