Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 190.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.822/2.822, allocations: 476.7 MB / 0.7646 GB, free: 9.875 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 63.89 kB / 1.11 GB, free: 6.32 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8828/0.8851, allocations: 168.8 MB / 1.274 GB, free: 4.191 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002807/0.8879, allocations: 1.499 MB / 1.276 GB, free: 2.684 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.0007755/0.8887, allocations: 448.6 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.8887, allocations: 0 / 1.276 GB, free: 2.242 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 3.625e-05/0.8888, allocations: 3.938 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 8.876e-05/0.8888, allocations: 11.91 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001639/0.889, allocations: 27.92 kB / 1.276 GB, free: 2.199 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0001008/0.8891, allocations: 51.84 kB / 1.276 GB, free: 2.148 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.8892, allocations: 8 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.808e-05/0.8893, allocations: 27.91 kB / 1.276 GB, free: 2.113 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.146e-05/0.8894, allocations: 19.91 kB / 1.276 GB, free: 2.094 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.8894, allocations: 11.94 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.588e-05/0.8894, allocations: 4 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.8894, allocations: 15.94 kB / 1.276 GB, free: 2.062 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.8895, allocations: 15.92 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.8896, allocations: 50.48 kB / 1.276 GB, free: 2 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.8896, allocations: 0 / 1.276 GB, free: 2 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.362e-06/0.8896, allocations: 0 / 1.276 GB, free: 2 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 6.081e-06/0.8896, allocations: 0 / 1.276 GB, free: 2 MB / 0.9669 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.0005775/0.8902, allocations: 293.8 kB / 1.277 GB, free: 1.688 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.8902, allocations: 12.03 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.8902, allocations: 4.938 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.8904, allocations: 114.5 kB / 1.277 GB, free: 1.535 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.8904, allocations: 4.375 kB / 1.277 GB, free: 1.531 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.8904, allocations: 4.375 kB / 1.277 GB, free: 1.527 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.8905, allocations: 58 kB / 1.277 GB, free: 1.465 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.8905, allocations: 3.938 kB / 1.277 GB, free: 1.461 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.8906, allocations: 3.984 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.8906, allocations: 0 / 1.277 GB, free: 1.457 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.672e-05/0.8906, allocations: 27.98 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005164/0.8912, allocations: 267.8 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.8913, allocations: 54.59 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/0.8913, allocations: 24.94 kB / 1.277 GB, free: 1.035 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.8913, allocations: 3.984 kB / 1.277 GB, free: 1.031 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.8915, allocations: 75.34 kB / 1.277 GB, free: 0.9453 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.8915, allocations: 3.938 kB / 1.277 GB, free: 0.9414 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=9): time 0.0002625/0.8917, allocations: 105.8 kB / 1.277 GB, free: 0.832 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.8918, allocations: 59.34 kB / 1.278 GB, free: 0.7617 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.103e-05/0.8919, allocations: 105.8 kB / 1.278 GB, free: 0.6484 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.8919, allocations: 33.7 kB / 1.278 GB, free: 0.6094 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.892, allocations: 80.14 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.892, allocations: 27.84 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.892, allocations: 29.7 kB / 1.278 GB, free: 476 kB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0001368/0.8922, allocations: 318.8 kB / 1.278 GB, free: 148 kB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/0.8922, allocations: 24 kB / 1.278 GB, free: 124 kB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.114e-05/0.8923, allocations: 43.42 kB / 1.278 GB, free: 68 kB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.8924, allocations: 71.36 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.8924, allocations: 0 / 1.278 GB, free: 15.98 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001436/0.8925, allocations: 89.58 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.8926, allocations: 8 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.8926, allocations: 3.984 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.8926, allocations: 0 / 1.278 GB, free: 15.88 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.883e-05/0.8927, allocations: 15.94 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.8927, allocations: 0 / 1.278 GB, free: 15.86 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.968e-05/0.8927, allocations: 11.92 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.8927, allocations: 12.03 kB / 1.278 GB, free: 15.84 MB / 0.9825 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 0.000102/0.8928, allocations: 120 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.8929, allocations: 7.953 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.526e-05/0.8929, allocations: 8.062 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.8929, allocations: 0 / 1.278 GB, free: 15.7 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.8929, allocations: 0 / 1.278 GB, free: 15.7 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.8929, allocations: 0 / 1.278 GB, free: 15.7 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.8934, allocations: 329.5 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.8934, allocations: 4 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.864e-05/0.8934, allocations: 11.92 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.8934, allocations: 288 / 1.279 GB, free: 15.31 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.8934, allocations: 0 / 1.279 GB, free: 15.31 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.8934, allocations: 3.938 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.8934, allocations: 0 / 1.279 GB, free: 15.3 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.8936, allocations: 195.5 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.748e-06/0.8936, allocations: 64 / 1.279 GB, free: 15.1 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.8937, allocations: 12 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.028e-05/0.8938, allocations: 11.92 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.678e-05/0.8938, allocations: 7.984 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.8938, allocations: 4 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 5.825e-05/0.8939, allocations: 83.28 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/0.8939, allocations: 0 / 1.279 GB, free: 14.98 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.000239/0.8941, allocations: 15.95 kB / 1.279 GB, free: 14.96 MB / 0.9825 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 0.0001221/0.8943, allocations: 103.2 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0001673/0.8944, allocations: 55.86 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.8944, allocations: 0 / 1.279 GB, free: 14.8 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 6.821e-05/0.8945, allocations: 20 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.8948, allocations: 7.984 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.8952, allocations: 165.3 kB / 1.279 GB, free: 14.59 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.8955, allocations: 0.6807 MB / 1.28 GB, free: 13.88 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 2.905e-05/0.8955, allocations: 12.05 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.8956, allocations: 11.44 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.11e-07/0.8956, allocations: 0 / 1.28 GB, free: 13.86 MB / 0.9825 GB
Notification: Performance of Templates: time 0.003519/0.8991, allocations: 0.827 MB / 1.281 GB, free: 13.04 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.907011318951845]