Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.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.001666/0.001666, 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.002512/0.002512, allocations: 188.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.472/1.472, 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 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.179/3.179, allocations: 496 MB / 0.7835 GB, free: 33.56 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.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer")
translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 68.95 kB / 1.138 GB, free: 33.71 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.36, allocations: 173.6 MB / 1.307 GB, free: 1.801 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002993/0.3629, allocations: 1.494 MB / 1.309 GB, free: 300 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0008652/0.3638, allocations: 454.9 kB / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.089e-05/0.3639, allocations: 0 / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.573e-05/0.3639, allocations: 3.938 kB / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 8.635e-05/0.364, allocations: 7.938 kB / 1.309 GB, free: 15.83 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.3641, allocations: 23.91 kB / 1.309 GB, free: 15.81 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001118/0.3643, allocations: 47.86 kB / 1.309 GB, free: 15.76 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.3644, allocations: 15.97 kB / 1.309 GB, free: 15.75 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.465e-05/0.3644, allocations: 27.92 kB / 1.309 GB, free: 15.72 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.586e-05/0.3645, allocations: 15.92 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.3645, allocations: 7.938 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/0.3645, allocations: 4 kB / 1.309 GB, free: 15.69 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.491e-05/0.3645, allocations: 15.92 kB / 1.309 GB, free: 15.68 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.325e-05/0.3646, allocations: 19.94 kB / 1.309 GB, free: 15.66 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.3647, allocations: 47.73 kB / 1.309 GB, free: 15.61 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3647, allocations: 0 / 1.309 GB, free: 15.61 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.243e-06/0.3647, allocations: 4 kB / 1.309 GB, free: 15.61 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.426e-06/0.3647, allocations: 0 / 1.309 GB, free: 15.61 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.0005507/0.3653, allocations: 290.2 kB / 1.31 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3653, allocations: 12.92 kB / 1.31 GB, free: 15.28 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.3653, allocations: 0.9375 kB / 1.31 GB, free: 15.28 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.3655, allocations: 114.4 kB / 1.31 GB, free: 15.14 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.3655, allocations: 4.375 kB / 1.31 GB, free: 15.14 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.3655, allocations: 8.375 kB / 1.31 GB, free: 15.13 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.3656, allocations: 57.98 kB / 1.31 GB, free: 15.07 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3656, allocations: 0 / 1.31 GB, free: 15.07 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.3656, allocations: 3.984 kB / 1.31 GB, free: 15.07 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.3657, allocations: 8 kB / 1.31 GB, free: 15.06 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.664e-05/0.3657, allocations: 27.92 kB / 1.31 GB, free: 15.03 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.3662, allocations: 267.8 kB / 1.31 GB, free: 14.73 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.3663, allocations: 54.59 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.982e-05/0.3664, allocations: 24.95 kB / 1.31 GB, free: 14.64 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.3664, allocations: 0 / 1.31 GB, free: 14.64 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.3666, allocations: 71.38 kB / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.3666, allocations: 0 / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of matching and sorting (n=9): time 0.0002469/0.3668, allocations: 97.84 kB / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.3669, allocations: 63.39 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.367, allocations: 105.8 kB / 1.311 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.367, allocations: 29.7 kB / 1.311 GB, free: 14.23 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.3671, allocations: 96.11 kB / 1.311 GB, free: 14.13 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.3671, allocations: 23.8 kB / 1.311 GB, free: 14.11 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.3672, allocations: 29.7 kB / 1.311 GB, free: 14.07 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0002162/0.3674, allocations: 318.8 kB / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.24e-05/0.3674, allocations: 23.92 kB / 1.311 GB, free: 13.73 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.233e-05/0.3675, allocations: 39.42 kB / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 9.953e-05/0.3676, allocations: 71.38 kB / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3676, allocations: 0 / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001537/0.3677, allocations: 101.6 kB / 1.311 GB, free: 13.49 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3677, allocations: 4 kB / 1.311 GB, free: 13.49 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3678, allocations: 0 / 1.311 GB, free: 13.49 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3678, allocations: 4 kB / 1.311 GB, free: 13.48 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.066e-05/0.3678, allocations: 15.92 kB / 1.311 GB, free: 13.47 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3679, allocations: 0 / 1.311 GB, free: 13.47 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.3679, allocations: 8.031 kB / 1.311 GB, free: 13.46 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.3679, allocations: 4 kB / 1.311 GB, free: 13.46 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.0001162/0.368, allocations: 127.8 kB / 1.311 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.3681, allocations: 11.94 kB / 1.311 GB, free: 13.31 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.3681, allocations: 12.05 kB / 1.311 GB, free: 13.3 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3681, allocations: 4 kB / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3681, allocations: 0 / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3681, allocations: 0 / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004435/0.3686, allocations: 333.5 kB / 1.312 GB, free: 12.92 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3686, allocations: 3.938 kB / 1.312 GB, free: 12.91 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.855e-05/0.3686, allocations: 4 kB / 1.312 GB, free: 12.91 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3686, allocations: 0 / 1.312 GB, free: 12.91 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3686, allocations: 3.984 kB / 1.312 GB, free: 12.91 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.3686, allocations: 7.938 kB / 1.312 GB, free: 12.9 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3686, allocations: 0 / 1.312 GB, free: 12.9 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.3688, allocations: 187.6 kB / 1.312 GB, free: 12.7 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.874e-06/0.3688, allocations: 0 / 1.312 GB, free: 12.7 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.3688, allocations: 7.984 kB / 1.312 GB, free: 12.69 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.911e-05/0.3689, allocations: 7.938 kB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.3689, allocations: 8.047 kB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.369, allocations: 8 kB / 1.312 GB, free: 12.67 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.269e-05/0.369, allocations: 91.2 kB / 1.312 GB, free: 12.58 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.369, allocations: 0 / 1.312 GB, free: 12.58 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002381/0.3692, allocations: 15.95 kB / 1.312 GB, free: 12.56 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.0001147/0.3694, allocations: 100.9 kB / 1.312 GB, free: 12.46 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001455/0.3695, allocations: 47.92 kB / 1.312 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3695, allocations: 3.938 kB / 1.312 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 5.7e-05/0.3696, allocations: 27.98 kB / 1.312 GB, free: 12.38 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.3698, allocations: 10.17 kB / 1.312 GB, free: 12.37 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004495/0.3703, allocations: 169.5 kB / 1.312 GB, free: 12.18 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.3706, allocations: 0.6807 MB / 1.313 GB, free: 11.47 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.864e-05/0.3706, allocations: 11.92 kB / 1.313 GB, free: 11.46 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.3707, allocations: 11.44 kB / 1.313 GB, free: 11.45 MB / 1.014 GB
Notification: Performance of SimCode: time 3.41e-07/0.3707, allocations: 0 / 1.313 GB, free: 11.45 MB / 1.014 GB
Notification: Performance of Templates: time 0.003537/0.3742, allocations: 0.8195 MB / 1.314 GB, free: 10.64 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.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.875697396695614]