Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.00147/0.00147, 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.001528/0.001528, allocations: 189.4 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.489/1.489, 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.882/2.882, allocations: 476.7 MB / 0.7646 GB, free: 9.855 MB / 0.6231 GB
"
[Timeout remaining time 176]
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.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn")
translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002456/0.002456, allocations: 71.89 kB / 1.11 GB, free: 6.316 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9353/0.9378, allocations: 168.8 MB / 1.274 GB, free: 4.211 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003216/0.941, allocations: 1.521 MB / 1.276 GB, free: 2.688 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001567/0.9426, allocations: 0.7494 MB / 1.277 GB, free: 1.934 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.354e-05/0.9426, allocations: 4 kB / 1.277 GB, free: 1.93 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 3.239e-05/0.9427, allocations: 3.938 kB / 1.277 GB, free: 1.926 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 5.706e-05/0.9427, allocations: 11.86 kB / 1.277 GB, free: 1.914 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006423/0.9434, allocations: 127.6 kB / 1.277 GB, free: 1.789 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.000156/0.9435, allocations: 83.77 kB / 1.277 GB, free: 1.707 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.241e-05/0.9436, allocations: 7.953 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.9437, allocations: 47.83 kB / 1.277 GB, free: 1.652 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 9.681e-05/0.9438, allocations: 31.91 kB / 1.277 GB, free: 1.621 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.9438, allocations: 4 kB / 1.277 GB, free: 1.617 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000365/0.9442, allocations: 143.7 kB / 1.277 GB, free: 1.477 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 3.649e-05/0.9443, allocations: 15.92 kB / 1.277 GB, free: 1.461 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 6.769e-05/0.9443, allocations: 31.86 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.9447, allocations: 141.9 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.9447, allocations: 0 / 1.277 GB, free: 1.301 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.603e-06/0.9447, allocations: 0 / 1.277 GB, free: 1.301 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 6.893e-06/0.9447, allocations: 0 / 1.277 GB, free: 1.301 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: 8
 * Number of variables: 8
Notification: Performance of Generate backend data structure: time 0.000893/0.9456, allocations: 347.6 kB / 1.277 GB, free: 0.9258 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.9456, allocations: 11.97 kB / 1.278 GB, free: 0.9141 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.9457, allocations: 12.89 kB / 1.278 GB, free: 0.9023 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.9458, allocations: 118.4 kB / 1.278 GB, free: 0.7617 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.97e-05/0.9459, allocations: 8.359 kB / 1.278 GB, free: 0.7539 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.9459, allocations: 4.375 kB / 1.278 GB, free: 0.75 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.9461, allocations: 73.97 kB / 1.278 GB, free: 0.6719 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.9461, allocations: 0 / 1.278 GB, free: 0.6719 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.9461, allocations: 3.984 kB / 1.278 GB, free: 0.668 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.9461, allocations: 0 / 1.278 GB, free: 0.668 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.9463, allocations: 39.97 kB / 1.278 GB, free: 0.6289 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006982/0.947, allocations: 287.7 kB / 1.278 GB, free: 312 kB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.9471, allocations: 42.56 kB / 1.278 GB, free: 260 kB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.726e-05/0.9472, allocations: 28.97 kB / 1.278 GB, free: 228 kB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.9472, allocations: 16 kB / 1.278 GB, free: 212 kB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002319/0.9475, allocations: 75.36 kB / 1.278 GB, free: 124 kB / 0.9669 GB
Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.9475, allocations: 0 / 1.278 GB, free: 124 kB / 0.9669 GB
Notification: Performance of matching and sorting (n=7): time 0.0004423/0.9479, allocations: 141.6 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.948, allocations: 59.39 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.9481, allocations: 117.8 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.9481, allocations: 33.7 kB / 1.279 GB, free: 15.74 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.9482, allocations: 92.12 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.9482, allocations: 15.81 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.653e-05/0.9483, allocations: 29.7 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001514/0.9484, allocations: 322.8 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.798e-05/0.9485, allocations: 23.97 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.9486, allocations: 59.36 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.9488, allocations: 79.34 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9488, allocations: 4 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002676/0.9491, allocations: 117.5 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.9491, allocations: 8 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.9491, allocations: 4.062 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.9491, allocations: 4 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.9492, allocations: 11.98 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.9492, allocations: 0 / 1.279 GB, free: 14.94 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.432e-05/0.9493, allocations: 11.92 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.9493, allocations: 4 kB / 1.279 GB, free: 14.92 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: 9 (win.curSeed,$PRE.win.curSeed,occ.y,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (11):
 * Single equations (assignments): 11
 * 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.0001172/0.9495, allocations: 131.9 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.9495, allocations: 7.953 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.9495, allocations: 8.375 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.9495, allocations: 0 / 1.279 GB, free: 14.77 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.9495, allocations: 0 / 1.279 GB, free: 14.77 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.9495, allocations: 3.984 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005294/0.9501, allocations: 345.5 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.9501, allocations: 0 / 1.28 GB, free: 14.38 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.667e-05/0.9501, allocations: 11.92 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.9501, allocations: 4 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.9501, allocations: 4 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.9501, allocations: 0 / 1.28 GB, free: 14.36 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.9501, allocations: 3.938 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.9505, allocations: 207.5 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.9505, allocations: 7.953 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.9505, allocations: 0 / 1.28 GB, free: 14.12 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.143e-05/0.9506, allocations: 11.98 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.9506, allocations: 7.938 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.9507, allocations: 7.984 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 7.67e-05/0.9507, allocations: 95.16 kB / 1.28 GB, free: 14 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/0.9507, allocations: 0 / 1.28 GB, free: 14 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0003254/0.9511, allocations: 43.92 kB / 1.28 GB, free: 13.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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (7):
 * Single equations (assignments): 4
 * 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.0004158/0.9515, allocations: 159.3 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0002909/0.9518, allocations: 75.89 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.9518, allocations: 4 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.9519, allocations: 32.45 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.9521, allocations: 6.031 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004669/0.9526, allocations: 200.3 kB / 1.281 GB, free: 13.47 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.9529, allocations: 0.6885 MB / 1.281 GB, free: 12.76 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 3.717e-05/0.953, allocations: 4 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.953, allocations: 15.38 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB
Notification: Performance of SimCode: time 2.91e-07/0.953, allocations: 0 / 1.281 GB, free: 12.74 MB / 0.9825 GB
Notification: Performance of Templates: time 0.004925/0.9579, allocations: 1.491 MB / 1.283 GB, free: 11.25 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
""

Variables in the reference:time,win.TIn,win.occ,win.p,win.on

Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0
[Calling sys.exit(0), Time elapsed: 9.359846252016723]