Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.001814/0.001814, 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.002447/0.002447, allocations: 188.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.512/1.512, 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.834/2.834, allocations: 476.7 MB / 0.7646 GB, free: 9.887 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.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll")
translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 75.88 kB / 1.11 GB, free: 6.34 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.885/0.8871, allocations: 168.8 MB / 1.274 GB, free: 4.203 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002962/0.8901, allocations: 1.524 MB / 1.276 GB, free: 2.676 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001419/0.8915, allocations: 0.7416 MB / 1.277 GB, free: 1.93 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.134e-05/0.8915, allocations: 3.938 kB / 1.277 GB, free: 1.926 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.8916, allocations: 11.92 kB / 1.277 GB, free: 1.914 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 4.844e-05/0.8916, allocations: 11.88 kB / 1.277 GB, free: 1.902 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005567/0.8922, allocations: 139.5 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0001387/0.8923, allocations: 67.84 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.12e-05/0.8924, allocations: 15.94 kB / 1.277 GB, free: 1.684 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.7e-05/0.8925, allocations: 31.91 kB / 1.277 GB, free: 1.652 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.626e-05/0.8926, allocations: 39.84 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.8926, allocations: 11.94 kB / 1.277 GB, free: 1.602 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002855/0.8929, allocations: 127.8 kB / 1.277 GB, free: 1.477 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 3.116e-05/0.8929, allocations: 27.91 kB / 1.277 GB, free: 1.449 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 4.742e-05/0.893, allocations: 27.86 kB / 1.277 GB, free: 1.422 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.8932, allocations: 145.9 kB / 1.277 GB, free: 1.289 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.8932, allocations: 0 / 1.277 GB, free: 1.289 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.213e-06/0.8932, allocations: 0 / 1.277 GB, free: 1.289 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 7.504e-06/0.8932, allocations: 4 kB / 1.277 GB, free: 1.285 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.0006244/0.8938, allocations: 339.6 kB / 1.277 GB, free: 0.918 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.8939, allocations: 12.03 kB / 1.278 GB, free: 0.9062 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.8939, allocations: 12.89 kB / 1.278 GB, free: 0.8945 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.894, allocations: 118.5 kB / 1.278 GB, free: 0.7539 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.8941, allocations: 4.375 kB / 1.278 GB, free: 0.75 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.8941, allocations: 4.375 kB / 1.278 GB, free: 0.7461 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.8943, allocations: 69.97 kB / 1.278 GB, free: 0.6719 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.8943, allocations: 0 / 1.278 GB, free: 0.6719 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.8943, allocations: 7.938 kB / 1.278 GB, free: 0.6641 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.8943, allocations: 0 / 1.278 GB, free: 0.6641 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.8944, allocations: 43.91 kB / 1.278 GB, free: 0.6211 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006004/0.895, allocations: 283.8 kB / 1.278 GB, free: 308 kB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.8952, allocations: 42.56 kB / 1.278 GB, free: 256 kB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.366e-05/0.8953, allocations: 28.97 kB / 1.278 GB, free: 224 kB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.8953, allocations: 0 / 1.278 GB, free: 224 kB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/0.8955, allocations: 87.31 kB / 1.278 GB, free: 124 kB / 0.9669 GB
Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.8955, allocations: 0 / 1.278 GB, free: 124 kB / 0.9669 GB
Notification: Performance of matching and sorting (n=7): time 0.0004499/0.896, allocations: 141.6 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/0.896, allocations: 51.41 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.8962, allocations: 129.7 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.8962, allocations: 29.7 kB / 1.279 GB, free: 15.74 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/0.8963, allocations: 92.12 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.8963, allocations: 19.84 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.8963, allocations: 29.7 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001607/0.8965, allocations: 322.7 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.043e-05/0.8966, allocations: 27.97 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.8967, allocations: 46.56 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.8969, allocations: 70.55 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.8969, allocations: 0 / 1.279 GB, free: 15.11 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002702/0.8971, allocations: 117.8 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.8972, allocations: 4 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.8972, allocations: 12 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.8972, allocations: 0 / 1.279 GB, free: 14.97 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.8973, allocations: 15.92 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.8973, allocations: 80 / 1.279 GB, free: 14.96 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.432e-05/0.8974, allocations: 11.94 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.8974, allocations: 7.984 kB / 1.279 GB, free: 14.94 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.0001169/0.8975, allocations: 117.8 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.8975, allocations: 11.94 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.8976, allocations: 16.38 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.8976, allocations: 0 / 1.279 GB, free: 14.78 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8976, allocations: 0 / 1.279 GB, free: 14.78 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.8976, allocations: 7.922 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005279/0.8981, allocations: 349.5 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.8981, allocations: 0 / 1.28 GB, free: 14.38 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.044e-05/0.8981, allocations: 4 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.8981, allocations: 0 / 1.28 GB, free: 14.38 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.8982, allocations: 19.98 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.8982, allocations: 0 / 1.28 GB, free: 14.36 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.8982, allocations: 3.938 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.8985, allocations: 199.5 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.421e-05/0.8985, allocations: 7.953 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.8985, allocations: 3.984 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.8986, allocations: 8 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.8987, allocations: 15.92 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.8987, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 6.295e-05/0.8987, allocations: 91.27 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/0.8987, allocations: 0 / 1.28 GB, free: 14.02 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0003118/0.899, allocations: 39.94 kB / 1.28 GB, free: 13.98 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.0004252/0.8995, allocations: 165.6 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0002776/0.8997, allocations: 67.89 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8997, allocations: 0 / 1.28 GB, free: 13.76 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.8998, allocations: 35.92 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.9001, allocations: 14.39 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/0.9006, allocations: 188.8 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.9009, allocations: 0.6924 MB / 1.281 GB, free: 12.78 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 3.651e-05/0.901, allocations: 4 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.901, allocations: 15.42 kB / 1.281 GB, free: 12.76 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.4e-07/0.901, allocations: 0 / 1.281 GB, free: 12.76 MB / 0.9825 GB
Notification: Performance of Templates: time 0.004831/0.9058, allocations: 1.487 MB / 1.283 GB, free: 11.27 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.116127519868314]