Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00149/0.00149, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001578/0.001578, allocations: 161.6 kB / 23.54 MB, free: 0.8945 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.51/1.51, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.768/2.768, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.601e-05/3.878e-05, allocations: 10.61 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002193/0.002232, allocations: 0.6658 MB / 0.787 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002019/0.004251, allocations: 1.18 MB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.934e-05/0.004321, allocations: 0 / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/0.004355, allocations: 3.938 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.004456, allocations: 12.95 kB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005898/0.005046, allocations: 144.1 kB / 0.7884 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002474/0.005294, allocations: 150 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.066e-05/0.005384, allocations: 8 kB / 0.7885 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.005553, allocations: 79.86 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.005679, allocations: 47.86 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.005715, allocations: 12 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.86e-05/0.005794, allocations: 27.98 kB / 0.7887 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.047e-05/0.005834, allocations: 16.56 kB / 0.7887 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.726e-05/0.005931, allocations: 47.89 kB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.006205, allocations: 148.8 kB / 0.7889 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.006207, allocations: 0 / 0.7889 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.32e-07/0.006208, allocations: 0 / 0.7889 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.006213, allocations: 2.219 kB / 0.7889 GB, free: 10.28 MB / 0.7448 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.00071/0.006923, allocations: 343.8 kB / 0.7892 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.00696, allocations: 8.031 kB / 0.7892 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.562e-05/0.007056, allocations: 20.88 kB / 0.7892 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004491/0.007505, allocations: 155.8 kB / 0.7894 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.007533, allocations: 8.375 kB / 0.7894 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/0.00757, allocations: 16.36 kB / 0.7894 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.007764, allocations: 82.14 kB / 0.7895 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.007774, allocations: 8.172 kB / 0.7895 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.00779, allocations: 1.938 kB / 0.7895 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.007799, allocations: 4.125 kB / 0.7895 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.007906, allocations: 35.97 kB / 0.7895 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006604/0.008566, allocations: 273.9 kB / 0.7898 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.008769, allocations: 86.47 kB / 0.7899 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.803e-05/0.008837, allocations: 30.59 kB / 0.7899 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.008851, allocations: 3.984 kB / 0.7899 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003077/0.009159, allocations: 131.2 kB / 0.79 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.00916, allocations: 1.094 kB / 0.79 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0004962/0.009656, allocations: 209.5 kB / 0.7902 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.009714, allocations: 57.34 kB / 0.7903 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.00984, allocations: 117.8 kB / 0.7904 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.94e-05/0.00989, allocations: 37.7 kB / 0.7904 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.133e-05/0.009971, allocations: 88.28 kB / 0.7905 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.684e-05/0.01002, allocations: 35.73 kB / 0.7905 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.85e-05/0.01012, allocations: 45.69 kB / 0.7906 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.01031, allocations: 321.4 kB / 0.7909 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.01046, allocations: 77.67 kB / 0.791 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004257/0.01089, allocations: 117.9 kB / 0.7911 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.01112, allocations: 137 kB / 0.7912 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01112, allocations: 4 kB / 0.7912 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004751/0.01159, allocations: 262.9 kB / 0.7915 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.334e-05/0.01164, allocations: 33.7 kB / 0.7915 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.01164, allocations: 0 / 0.7915 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.01166, allocations: 4 kB / 0.7915 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.252e-05/0.01174, allocations: 8.656 kB / 0.7915 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.01174, allocations: 7.984 kB / 0.7915 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.01196, allocations: 38.02 kB / 0.7916 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.01199, allocations: 12 kB / 0.7916 GB, free: 7.281 MB / 0.7448 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.0001364/0.01212, allocations: 126.6 kB / 0.7917 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.01216, allocations: 23.89 kB / 0.7917 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.641e-05/0.0122, allocations: 9.281 kB / 0.7917 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.0122, allocations: 3.984 kB / 0.7917 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01221, allocations: 1.281 kB / 0.7917 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.01221, allocations: 0 / 0.7917 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004966/0.01271, allocations: 374.1 kB / 0.7921 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.01271, allocations: 4.844 kB / 0.7921 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.344e-05/0.01274, allocations: 4 kB / 0.7921 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.01275, allocations: 0 / 0.7921 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.01277, allocations: 9.016 kB / 0.7921 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01277, allocations: 0 / 0.7921 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01277, allocations: 1.406 kB / 0.7921 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003927/0.01316, allocations: 289.8 kB / 0.7924 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.01317, allocations: 3.953 kB / 0.7924 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.0132, allocations: 4 kB / 0.7924 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.712e-05/0.01329, allocations: 13.33 kB / 0.7924 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.145e-05/0.01335, allocations: 11.97 kB / 0.7924 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.01337, allocations: 12 kB / 0.7924 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.596e-05/0.01344, allocations: 90.27 kB / 0.7925 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01344, allocations: 0 / 0.7925 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002968/0.01373, allocations: 28 kB / 0.7925 GB, free: 6.246 MB / 0.7448 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.0002004/0.01394, allocations: 111.2 kB / 0.7926 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004159/0.01435, allocations: 208.9 kB / 0.7928 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.01436, allocations: 4.5 kB / 0.7928 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.01448, allocations: 47.91 kB / 0.7929 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.0148, allocations: 25.59 kB / 0.7929 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005452/0.01535, allocations: 196.8 kB / 0.7931 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.01546, allocations: 77.17 kB / 0.7932 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.184e-05/0.01551, allocations: 9.594 kB / 0.7932 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.835e-05/0.01556, allocations: 16.5 kB / 0.7932 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.01556, allocations: 0.6562 kB / 0.7932 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of Templates: time 0.006307/0.02187, allocations: 1.781 MB / 0.7949 GB, free: 3.773 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.828445011051372]