Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 107.2 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 190.6 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.547/2.547, allocations: 461.7 MB / 0.7352 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.91 kB / 1.054 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6783/0.6796, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002665/0.6823, allocations: 1.501 MB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.6836, allocations: 0.7206 MB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.6837, allocations: 0 / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.007e-05/0.6837, allocations: 3.938 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.212e-05/0.6838, allocations: 19.86 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006369/0.6844, allocations: 127.5 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.6846, allocations: 75.77 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.822e-05/0.6847, allocations: 11.95 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.865e-05/0.6848, allocations: 43.84 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.877e-05/0.6848, allocations: 39.83 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.6849, allocations: 4 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.6851, allocations: 95.91 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/0.6851, allocations: 15.98 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.708e-05/0.6852, allocations: 35.78 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.6854, allocations: 143.3 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6854, allocations: 0 / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6854, allocations: 0 / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.6854, allocations: 0 / 1.211 GB, free: 10.84 MB / 0.9356 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.0005999/0.686, allocations: 423 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.6861, allocations: 12.03 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.6861, allocations: 8.844 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.6863, allocations: 168.3 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.6863, allocations: 4.375 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.6863, allocations: 8.375 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.6865, allocations: 69.91 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.6865, allocations: 0 / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.6865, allocations: 7.984 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.6866, allocations: 0 / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.6867, allocations: 35.98 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005786/0.6873, allocations: 320.7 kB / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.6874, allocations: 50.5 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.897e-05/0.6875, allocations: 28.97 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.6875, allocations: 8 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002075/0.6877, allocations: 75.38 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 4.128e-06/0.6878, allocations: 3.984 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003796/0.6881, allocations: 141.5 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.6882, allocations: 63.38 kB / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.026e-05/0.6883, allocations: 129.7 kB / 1.212 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.6883, allocations: 29.7 kB / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.6884, allocations: 88.12 kB / 1.213 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.6884, allocations: 15.81 kB / 1.213 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.6884, allocations: 29.7 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.6886, allocations: 318.8 kB / 1.213 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.948e-05/0.6887, allocations: 27.97 kB / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.507e-05/0.6888, allocations: 54.56 kB / 1.213 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.6889, allocations: 70.48 kB / 1.213 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6889, allocations: 3.938 kB / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002385/0.6892, allocations: 113.5 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.6892, allocations: 12.06 kB / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.6892, allocations: 0 / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.6892, allocations: 0 / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.132e-05/0.6893, allocations: 8 kB / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.6893, allocations: 7.984 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.516e-05/0.6894, allocations: 11.94 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.6894, allocations: 0 / 1.213 GB, free: 8.289 MB / 0.9356 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 8.477e-05/0.6895, allocations: 125.7 kB / 1.213 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.6895, allocations: 7.906 kB / 1.213 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.6896, allocations: 16.36 kB / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.6896, allocations: 0 / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.6896, allocations: 0 / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.6896, allocations: 88.95 kB / 1.213 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.6897, allocations: 0 / 1.213 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.184e-05/0.6897, allocations: 11.92 kB / 1.213 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.6898, allocations: 0 / 1.213 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002837/0.69, allocations: 192.9 kB / 1.214 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002902/0.6903, allocations: 282.7 kB / 1.214 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.236e-05/0.6904, allocations: 35.97 kB / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.25e-05/0.6905, allocations: 91.27 kB / 1.214 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of Backend: time 5.41e-07/0.6905, allocations: 0 / 1.214 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006559/0.6912, allocations: 190.4 kB / 1.214 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005159/0.6917, allocations: 0.6176 MB / 1.215 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of Templates: time 0.003815/0.6955, allocations: 1.489 MB / 1.216 GB, free: 5.066 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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