Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001471/0.001471, 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.001441/0.001441, allocations: 186.1 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.505/1.505, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.284/3.284, allocations: 496 MB / 0.7835 GB, free: 33.43 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 67.8 kB / 1.138 GB, free: 33.8 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.4007, allocations: 173.6 MB / 1.307 GB, free: 1.852 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002861/0.4035, allocations: 1.498 MB / 1.309 GB, free: 348 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0008307/0.4044, allocations: 454.9 kB / 1.309 GB, free: 15.89 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.733e-05/0.4044, allocations: 0 / 1.309 GB, free: 15.89 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.155e-05/0.4045, allocations: 7.922 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 8.966e-05/0.4045, allocations: 7.938 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.4047, allocations: 23.91 kB / 1.309 GB, free: 15.85 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001013/0.4048, allocations: 51.84 kB / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.4049, allocations: 11.98 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.782e-05/0.405, allocations: 19.94 kB / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.889e-05/0.4051, allocations: 23.91 kB / 1.309 GB, free: 15.75 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.4051, allocations: 4 kB / 1.309 GB, free: 15.74 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.465e-05/0.4051, allocations: 4 kB / 1.309 GB, free: 15.74 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 3.041e-05/0.4051, allocations: 19.92 kB / 1.309 GB, free: 15.72 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.46e-05/0.4052, allocations: 15.92 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.4053, allocations: 47.77 kB / 1.309 GB, free: 15.66 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.4053, allocations: 0 / 1.309 GB, free: 15.66 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.944e-06/0.4053, allocations: 0 / 1.309 GB, free: 15.66 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.416e-06/0.4053, allocations: 4 kB / 1.309 GB, free: 15.65 MB / 1.014 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.0005868/0.4059, allocations: 290.1 kB / 1.31 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.4059, allocations: 8.031 kB / 1.31 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.406, allocations: 4.938 kB / 1.31 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.4061, allocations: 122.5 kB / 1.31 GB, free: 15.18 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.4062, allocations: 8.375 kB / 1.31 GB, free: 15.18 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.4062, allocations: 8.312 kB / 1.31 GB, free: 15.17 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.4063, allocations: 57.98 kB / 1.31 GB, free: 15.11 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.4063, allocations: 0 / 1.31 GB, free: 15.11 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.4063, allocations: 3.938 kB / 1.31 GB, free: 15.1 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.4063, allocations: 8 kB / 1.31 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.84e-05/0.4064, allocations: 23.98 kB / 1.31 GB, free: 15.07 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006022/0.407, allocations: 263.8 kB / 1.31 GB, free: 14.77 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.4071, allocations: 54.59 kB / 1.31 GB, free: 14.71 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.038e-05/0.4072, allocations: 24.94 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.206e-06/0.4072, allocations: 4 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.4074, allocations: 67.39 kB / 1.31 GB, free: 14.6 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.4074, allocations: 0 / 1.31 GB, free: 14.6 MB / 1.014 GB
Notification: Performance of matching and sorting (n=9): time 0.0002593/0.4077, allocations: 101.6 kB / 1.31 GB, free: 14.49 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.4077, allocations: 59.34 kB / 1.31 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.494e-05/0.4078, allocations: 105.8 kB / 1.311 GB, free: 14.31 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.4078, allocations: 33.7 kB / 1.311 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.4079, allocations: 84.14 kB / 1.311 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.4079, allocations: 35.7 kB / 1.311 GB, free: 14.15 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/0.408, allocations: 25.72 kB / 1.311 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001484/0.4081, allocations: 322.8 kB / 1.311 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.239e-05/0.4082, allocations: 16 kB / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-05/0.4082, allocations: 43.42 kB / 1.311 GB, free: 13.72 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.4083, allocations: 75.73 kB / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4083, allocations: 0 / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001536/0.4085, allocations: 97.8 kB / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.4085, allocations: 4 kB / 1.311 GB, free: 13.53 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4085, allocations: 3.984 kB / 1.311 GB, free: 13.53 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.4085, allocations: 7.984 kB / 1.311 GB, free: 13.52 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.153e-05/0.4086, allocations: 11.94 kB / 1.311 GB, free: 13.51 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.4086, allocations: 0 / 1.311 GB, free: 13.51 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.711e-05/0.4087, allocations: 12.02 kB / 1.311 GB, free: 13.5 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.4087, allocations: 8 kB / 1.311 GB, free: 13.49 MB / 1.014 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.0001122/0.4088, allocations: 122.4 kB / 1.311 GB, free: 13.36 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.4088, allocations: 7.953 kB / 1.311 GB, free: 13.35 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.4088, allocations: 8.062 kB / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4088, allocations: 0 / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.4089, allocations: 4 kB / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.4089, allocations: 3.984 kB / 1.311 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004377/0.4093, allocations: 333.4 kB / 1.312 GB, free: 12.96 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4093, allocations: 0 / 1.312 GB, free: 12.96 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.591e-05/0.4093, allocations: 4 kB / 1.312 GB, free: 12.95 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4093, allocations: 0 / 1.312 GB, free: 12.95 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.4093, allocations: 0 / 1.312 GB, free: 12.95 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.4093, allocations: 7.938 kB / 1.312 GB, free: 12.95 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4093, allocations: 0 / 1.312 GB, free: 12.95 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.4095, allocations: 187.4 kB / 1.312 GB, free: 12.75 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.306e-06/0.4095, allocations: 3.938 kB / 1.312 GB, free: 12.74 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.4096, allocations: 8 kB / 1.312 GB, free: 12.73 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.515e-05/0.4096, allocations: 7.922 kB / 1.312 GB, free: 12.73 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.4097, allocations: 7.984 kB / 1.312 GB, free: 12.72 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.4097, allocations: 4.062 kB / 1.312 GB, free: 12.71 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.078e-05/0.4097, allocations: 87.28 kB / 1.312 GB, free: 12.63 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.4097, allocations: 0 / 1.312 GB, free: 12.63 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002357/0.41, allocations: 19.95 kB / 1.312 GB, free: 12.61 MB / 1.014 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.0001124/0.4101, allocations: 106.5 kB / 1.312 GB, free: 12.5 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001464/0.4102, allocations: 59.8 kB / 1.312 GB, free: 12.44 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4102, allocations: 0 / 1.312 GB, free: 12.44 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 5.274e-05/0.4103, allocations: 23.98 kB / 1.312 GB, free: 12.42 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.4106, allocations: 8 kB / 1.312 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.4109, allocations: 153.3 kB / 1.312 GB, free: 12.23 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.4113, allocations: 0.6924 MB / 1.313 GB, free: 11.52 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.635e-05/0.4113, allocations: 0 / 1.313 GB, free: 11.52 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.4113, allocations: 11.44 kB / 1.313 GB, free: 11.5 MB / 1.014 GB
Notification: Performance of SimCode: time 3.2e-07/0.4113, allocations: 4 kB / 1.313 GB, free: 11.5 MB / 1.014 GB
Notification: Performance of Templates: time 0.003495/0.4148, allocations: 0.8227 MB / 1.314 GB, free: 10.68 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.316210761666298]