Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.001928/0.001928, allocations: 77.23 kB / 19.76 MB, free: 2.035 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.002149/0.002149, allocations: 156.4 kB / 23.01 MB, free: 4.945 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.452/1.452, allocations: 177.2 MB / 203.4 MB, free: 8.941 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.884/2.884, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 67.89 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.974/0.9764, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002434/0.9788, allocations: 1.509 MB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0006991/0.9795, allocations: 446.7 kB / 1.188 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.251e-05/0.9795, allocations: 1.125 kB / 1.188 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.503e-05/0.9796, allocations: 9.141 kB / 1.188 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.021e-05/0.9796, allocations: 14.34 kB / 1.189 GB, free: 14.87 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.9798, allocations: 20.86 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.099e-05/0.9799, allocations: 47.86 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.971e-05/0.98, allocations: 10.58 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.526e-05/0.98, allocations: 27.06 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.796e-05/0.9801, allocations: 23.06 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.9801, allocations: 8.312 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.9801, allocations: 3.875 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.203e-05/0.9801, allocations: 17.08 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.11e-05/0.9802, allocations: 17.22 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.9803, allocations: 40.11 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.9803, allocations: 0 / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9803, allocations: 0.7969 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.9803, allocations: 1.25 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004544/0.9808, allocations: 291.4 kB / 1.189 GB, free: 14.49 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.9808, allocations: 9.984 kB / 1.189 GB, free: 14.49 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.9808, allocations: 3.219 kB / 1.189 GB, free: 14.49 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.481e-05/0.9809, allocations: 112.1 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.9809, allocations: 2.469 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.9809, allocations: 9.234 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.981, allocations: 62.12 kB / 1.189 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.9811, allocations: 1.25 kB / 1.189 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.9811, allocations: 3.938 kB / 1.189 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.9811, allocations: 1.422 kB / 1.189 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.337e-05/0.9811, allocations: 26.34 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.9815, allocations: 244.6 kB / 1.189 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.9816, allocations: 51.72 kB / 1.189 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.986e-05/0.9817, allocations: 21.64 kB / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.9817, allocations: 0.6562 kB / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.9818, allocations: 74.45 kB / 1.19 GB, free: 13.97 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 2.104e-06/0.9818, allocations: 3.984 kB / 1.19 GB, free: 13.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.0002061/0.982, allocations: 105.8 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.9821, allocations: 58.5 kB / 1.19 GB, free: 13.84 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.502e-05/0.9821, allocations: 107.7 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.9821, allocations: 31.88 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.9822, allocations: 83.84 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.9822, allocations: 23.95 kB / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.9822, allocations: 29.25 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.489e-05/0.9823, allocations: 322 kB / 1.19 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.555e-05/0.9823, allocations: 16.33 kB / 1.19 GB, free: 13.25 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.941e-05/0.9824, allocations: 45.66 kB / 1.19 GB, free: 13.21 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.93e-05/0.9824, allocations: 65.42 kB / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.9824, allocations: 4.891 kB / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001262/0.9826, allocations: 97.14 kB / 1.191 GB, free: 13.1 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.9826, allocations: 6.562 kB / 1.191 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.9826, allocations: 0 / 1.191 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.9826, allocations: 3.328 kB / 1.191 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-05/0.9827, allocations: 8.906 kB / 1.191 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.9827, allocations: 1.219 kB / 1.191 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.841e-05/0.9827, allocations: 19.67 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.9827, allocations: 7.75 kB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 5.998e-05/0.9828, allocations: 126.2 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.9828, allocations: 8.234 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.9828, allocations: 8.969 kB / 1.191 GB, free: 12.94 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.9828, allocations: 1.344 kB / 1.191 GB, free: 12.94 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.9829, allocations: 1.859 kB / 1.191 GB, free: 12.94 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.9829, allocations: 0.5156 kB / 1.191 GB, free: 12.94 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.9832, allocations: 292.7 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.9832, allocations: 0 / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.9832, allocations: 8.828 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.9832, allocations: 0 / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.9832, allocations: 5.672 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.9832, allocations: 1.156 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.9832, allocations: 0.6562 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.9833, allocations: 191.6 kB / 1.191 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.9833, allocations: 2.891 kB / 1.191 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.9834, allocations: 1.797 kB / 1.191 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.685e-05/0.9834, allocations: 6.078 kB / 1.191 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.9835, allocations: 15.19 kB / 1.191 GB, free: 12.51 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.9835, allocations: 6.812 kB / 1.191 GB, free: 12.5 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.846e-05/0.9835, allocations: 81.17 kB / 1.191 GB, free: 12.43 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9835, allocations: 4 kB / 1.191 GB, free: 12.43 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002395/0.9838, allocations: 20.3 kB / 1.191 GB, free: 12.42 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 7.307e-05/0.9839, allocations: 103.3 kB / 1.191 GB, free: 12.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.984, allocations: 48.39 kB / 1.191 GB, free: 12.31 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.984, allocations: 0 / 1.191 GB, free: 12.31 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.479e-05/0.984, allocations: 26.5 kB / 1.192 GB, free: 12.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.9843, allocations: 11.09 kB / 1.192 GB, free: 12.3 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.9846, allocations: 143.5 kB / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.384e-05/0.9847, allocations: 80.39 kB / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.704e-05/0.9847, allocations: 5.625 kB / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.9847, allocations: 12.97 kB / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/0.9847, allocations: 0 / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of Templates: time 0.003402/0.9881, allocations: 0.8099 MB / 1.193 GB, free: 11.97 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[511]=0.000000 File[2520]=0.000400 " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.825119629036635]