Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.001456/0.001456, allocations: 108.8 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.001764/0.001764, allocations: 192 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.599/1.599, 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 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.844/2.844, allocations: 476.7 MB / 0.7646 GB, free: 9.844 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.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth")
translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.003273/0.003273, allocations: 59.91 kB / 1.11 GB, free: 6.348 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9702/0.9735, allocations: 168.8 MB / 1.274 GB, free: 4.223 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002953/0.9765, allocations: 1.518 MB / 1.276 GB, free: 2.699 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001388/0.9778, allocations: 0.7417 MB / 1.277 GB, free: 1.953 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.183e-05/0.9779, allocations: 4 kB / 1.277 GB, free: 1.949 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.9779, allocations: 3.938 kB / 1.277 GB, free: 1.945 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 5.618e-05/0.978, allocations: 19.84 kB / 1.277 GB, free: 1.926 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.9786, allocations: 115.6 kB / 1.277 GB, free: 1.812 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0001386/0.9787, allocations: 87.7 kB / 1.277 GB, free: 1.727 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.728e-05/0.9788, allocations: 15.94 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.974e-05/0.9789, allocations: 35.91 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.084e-05/0.979, allocations: 43.77 kB / 1.277 GB, free: 1.633 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.979, allocations: 4 kB / 1.277 GB, free: 1.629 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002914/0.9793, allocations: 139.8 kB / 1.277 GB, free: 1.492 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.9793, allocations: 11.98 kB / 1.277 GB, free: 1.48 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 5.422e-05/0.9794, allocations: 39.78 kB / 1.277 GB, free: 1.441 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.9796, allocations: 141.9 kB / 1.277 GB, free: 1.312 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.9796, allocations: 0 / 1.277 GB, free: 1.312 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.213e-06/0.9796, allocations: 0 / 1.277 GB, free: 1.312 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 5.25e-06/0.9796, allocations: 0 / 1.277 GB, free: 1.312 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.0006814/0.9803, allocations: 343.6 kB / 1.277 GB, free: 0.9414 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.9803, allocations: 12.03 kB / 1.278 GB, free: 0.9297 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.9804, allocations: 8.891 kB / 1.278 GB, free: 0.9219 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.9805, allocations: 118.4 kB / 1.278 GB, free: 0.7812 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.9805, allocations: 4.375 kB / 1.278 GB, free: 0.7773 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.9805, allocations: 4.375 kB / 1.278 GB, free: 0.7734 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.9807, allocations: 77.95 kB / 1.278 GB, free: 0.6914 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.9807, allocations: 0 / 1.278 GB, free: 0.6914 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.9807, allocations: 0 / 1.278 GB, free: 0.6914 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.9808, allocations: 0 / 1.278 GB, free: 0.6914 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.9809, allocations: 39.97 kB / 1.278 GB, free: 0.6523 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006359/0.9815, allocations: 295.7 kB / 1.278 GB, free: 328 kB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.9817, allocations: 42.56 kB / 1.278 GB, free: 276 kB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.874e-05/0.9817, allocations: 32.91 kB / 1.278 GB, free: 240 kB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.9818, allocations: 4 kB / 1.278 GB, free: 236 kB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.982, allocations: 79.38 kB / 1.278 GB, free: 144 kB / 0.9669 GB
Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.982, allocations: 0 / 1.278 GB, free: 144 kB / 0.9669 GB
Notification: Performance of matching and sorting (n=7): time 0.000412/0.9824, allocations: 137.5 kB / 1.278 GB, free: 0 / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/0.9824, allocations: 55.41 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.9826, allocations: 129.8 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.9826, allocations: 25.7 kB / 1.279 GB, free: 15.77 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 7.119e-05/0.9827, allocations: 92.22 kB / 1.279 GB, free: 15.67 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.9827, allocations: 15.88 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/0.9827, allocations: 29.7 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001682/0.9829, allocations: 322.8 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.959e-05/0.983, allocations: 27.98 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.9831, allocations: 50.55 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.9833, allocations: 74.48 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.9833, allocations: 0 / 1.279 GB, free: 15.13 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002333/0.9835, allocations: 109.9 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.9835, allocations: 12.05 kB / 1.279 GB, free: 15 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.9835, allocations: 0 / 1.279 GB, free: 15 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.9836, allocations: 7.938 kB / 1.279 GB, free: 15 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.9837, allocations: 15.94 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.9837, allocations: 0 / 1.279 GB, free: 14.98 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.774e-05/0.9837, allocations: 11.92 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.9837, allocations: 4 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,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.0001006/0.9838, allocations: 117.8 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.737e-05/0.9839, allocations: 15.89 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/0.9839, allocations: 12.36 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.9839, allocations: 7.984 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.9839, allocations: 0 / 1.279 GB, free: 14.8 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.9839, allocations: 0 / 1.279 GB, free: 14.8 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.9844, allocations: 357.4 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.9844, allocations: 0 / 1.28 GB, free: 14.4 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.812e-05/0.9844, allocations: 4 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.9844, allocations: 0 / 1.28 GB, free: 14.4 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.9844, allocations: 4 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.9844, allocations: 0 / 1.28 GB, free: 14.39 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/0.9844, allocations: 11.92 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.9847, allocations: 199.5 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.561e-05/0.9847, allocations: 11.95 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.9848, allocations: 0 / 1.28 GB, free: 14.16 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.015e-05/0.9849, allocations: 11.98 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.9849, allocations: 3.938 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.9849, allocations: 7.984 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 6.987e-05/0.985, allocations: 95.92 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 6e-08/0.985, allocations: 0 / 1.28 GB, free: 14.04 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002936/0.9853, allocations: 31.94 kB / 1.28 GB, free: 14.01 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,win.occ,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.0004115/0.9857, allocations: 167.9 kB / 1.28 GB, free: 13.85 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0002615/0.9859, allocations: 79.81 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.9859, allocations: 0 / 1.28 GB, free: 13.77 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 9.314e-05/0.986, allocations: 27.98 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.9863, allocations: 14.02 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004514/0.9867, allocations: 193.3 kB / 1.281 GB, free: 13.52 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.9871, allocations: 0.6885 MB / 1.281 GB, free: 12.8 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 3.695e-05/0.9871, allocations: 4 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.9871, allocations: 11.44 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB
Notification: Performance of SimCode: time 2.81e-07/0.9871, allocations: 0 / 1.281 GB, free: 12.79 MB / 0.9825 GB
Notification: Performance of Templates: time 0.00495/0.9921, allocations: 1.489 MB / 1.283 GB, free: 11.3 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
""

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

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