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.001453/0.001453, allocations: 92.7 kB / 19.44 MB, free: 324 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.001602/0.001602, allocations: 161.7 kB / 22.75 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.625/1.625, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.243/3.243, allocations: 429.6 MB / 0.673 GB, free: 3.898 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 2.675e-06/2.675e-06, allocations: 0.7656 kB / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.557e-05/3.824e-05, allocations: 6.312 kB / 0.8776 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.00192/0.001958, allocations: 0.6627 MB / 0.8783 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001972/0.00393, allocations: 1.184 MB / 0.8794 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.00398, allocations: 224 / 0.8794 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.803e-05/0.004018, allocations: 3.938 kB / 0.8794 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.617e-05/0.004094, allocations: 7.938 kB / 0.8794 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.004636, allocations: 147.5 kB / 0.8796 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.004871, allocations: 143.7 kB / 0.8797 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.605e-05/0.004957, allocations: 7.984 kB / 0.8797 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.005104, allocations: 77.69 kB / 0.8798 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.005232, allocations: 51.84 kB / 0.8798 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/0.005266, allocations: 15.94 kB / 0.8799 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.081e-05/0.005347, allocations: 23.98 kB / 0.8799 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/0.005391, allocations: 15.98 kB / 0.8799 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.041e-05/0.005482, allocations: 48.83 kB / 0.8799 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.005733, allocations: 147.7 kB / 0.8801 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.005735, allocations: 5.062 kB / 0.8801 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.052e-06/0.005737, allocations: 0 / 0.8801 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.005741, allocations: 3.938 kB / 0.8801 GB, free: 3.945 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.0007392/0.00648, allocations: 341 kB / 0.8804 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.006518, allocations: 8.031 kB / 0.8804 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.439e-05/0.006602, allocations: 21.95 kB / 0.8804 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.007022, allocations: 154.8 kB / 0.8806 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.007048, allocations: 4.375 kB / 0.8806 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.302e-05/0.007091, allocations: 20.36 kB / 0.8806 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.00728, allocations: 78.64 kB / 0.8807 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.00729, allocations: 6.031 kB / 0.8807 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.007321, allocations: 4.359 kB / 0.8807 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.007328, allocations: 4.125 kB / 0.8807 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.007439, allocations: 39.97 kB / 0.8807 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006141/0.008053, allocations: 269.8 kB / 0.881 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.008256, allocations: 82.58 kB / 0.8811 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.92e-05/0.008345, allocations: 41.91 kB / 0.8811 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.008357, allocations: 0 / 0.8811 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002979/0.008655, allocations: 135.1 kB / 0.8812 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.008657, allocations: 5.594 kB / 0.8812 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0004751/0.009132, allocations: 205.5 kB / 0.8814 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.00919, allocations: 59.39 kB / 0.8815 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.00932, allocations: 109.8 kB / 0.8816 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.009358, allocations: 32.17 kB / 0.8816 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/0.009437, allocations: 92.09 kB / 0.8817 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/0.009483, allocations: 39.92 kB / 0.8818 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.566e-05/0.009579, allocations: 41.7 kB / 0.8818 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.009773, allocations: 318.8 kB / 0.8821 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.009925, allocations: 81.67 kB / 0.8822 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.01011, allocations: 120.5 kB / 0.8823 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.01034, allocations: 141.9 kB / 0.8824 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.01035, allocations: 7.938 kB / 0.8824 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004554/0.0108, allocations: 250.9 kB / 0.8827 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.862e-05/0.01085, allocations: 40.19 kB / 0.8827 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.01086, allocations: 0 / 0.8827 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.01088, allocations: 3.938 kB / 0.8827 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.346e-05/0.01096, allocations: 9.125 kB / 0.8827 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.01096, allocations: 4 kB / 0.8827 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.0112, allocations: 44.02 kB / 0.8828 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.01122, allocations: 8 kB / 0.8828 GB, free: 0.957 MB / 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.0001563/0.01138, allocations: 129.8 kB / 0.8829 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.01142, allocations: 15.89 kB / 0.8829 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.361e-05/0.01146, allocations: 12.44 kB / 0.8829 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.01146, allocations: 0 / 0.8829 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.01147, allocations: 0 / 0.8829 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.01148, allocations: 3.984 kB / 0.8829 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008204/0.0123, allocations: 386 kB / 0.8833 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.0123, allocations: 0 / 0.8833 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.101e-05/0.01233, allocations: 4 kB / 0.8833 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.01234, allocations: 0 / 0.8833 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.01236, allocations: 15.98 kB / 0.8833 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.01236, allocations: 0 / 0.8833 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01236, allocations: 0 / 0.8833 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/0.01273, allocations: 271.4 kB / 0.8836 GB, free: 76 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.01274, allocations: 7.953 kB / 0.8836 GB, free: 68 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.01277, allocations: 4 kB / 0.8836 GB, free: 64 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.935e-05/0.01286, allocations: 7.984 kB / 0.8836 GB, free: 56 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.496e-05/0.01292, allocations: 23.91 kB / 0.8836 GB, free: 32 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.01294, allocations: 8 kB / 0.8836 GB, free: 24 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.551e-05/0.01302, allocations: 91.56 kB / 0.8837 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01302, allocations: 0 / 0.8837 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002838/0.0133, allocations: 32 kB / 0.8838 GB, free: 15.9 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.0002121/0.01352, allocations: 115.1 kB / 0.8839 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000374/0.01389, allocations: 209 kB / 0.8841 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01389, allocations: 256 / 0.8841 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.01401, allocations: 59.91 kB / 0.8841 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.01431, allocations: 23.86 kB / 0.8841 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.01479, allocations: 188.8 kB / 0.8843 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.746e-05/0.01487, allocations: 71.34 kB / 0.8844 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.71e-05/0.01492, allocations: 12.48 kB / 0.8844 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.955e-05/0.01498, allocations: 16.5 kB / 0.8844 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of SimCode: time 7.31e-07/0.01498, allocations: 0 / 0.8844 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of Templates: time 0.005439/0.02042, allocations: 1.77 MB / 0.8861 GB, free: 13.42 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=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.376483761006966]