Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_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_9_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.001129/0.001129, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001152/0.001152, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.354/1.354, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.166/2.166, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 71.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6788/0.68, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002266/0.6823, allocations: 1.501 MB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.6833, allocations: 0.73 MB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.542e-05/0.6834, allocations: 4.938 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.585e-05/0.6834, allocations: 5.203 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.963e-05/0.6835, allocations: 11.38 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004773/0.6839, allocations: 124.6 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.6841, allocations: 77.47 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.22e-05/0.6841, allocations: 11.03 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.765e-05/0.6842, allocations: 39.28 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.603e-05/0.6843, allocations: 36.72 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.6843, allocations: 7.375 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.6845, allocations: 94.19 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.6846, allocations: 18.78 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.6846, allocations: 28.28 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.6848, allocations: 140.7 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6848, allocations: 5 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6848, allocations: 0.6094 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.6849, allocations: 0 / 1.091 GB, free: 3.715 MB / 0.8575 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.0005133/0.6854, allocations: 428.6 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.6854, allocations: 8.688 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.6855, allocations: 9.344 kB / 1.092 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.233e-05/0.6855, allocations: 169.3 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.6856, allocations: 3.422 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.6856, allocations: 8 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.6858, allocations: 72.88 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.6858, allocations: 0 / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.6858, allocations: 5.375 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.6858, allocations: 0.8125 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.686, allocations: 36.19 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.6865, allocations: 314.4 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.6866, allocations: 49.67 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.159e-05/0.6867, allocations: 36.38 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.6867, allocations: 4.922 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.6869, allocations: 77.7 kB / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.844e-06/0.6869, allocations: 0 / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000366/0.6873, allocations: 141.7 kB / 1.093 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.97e-05/0.6873, allocations: 54.02 kB / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.097e-05/0.6874, allocations: 119 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.6874, allocations: 31.17 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.015e-05/0.6874, allocations: 96.14 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.6875, allocations: 7.594 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.6875, allocations: 29.66 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.895e-05/0.6875, allocations: 327 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.003e-05/0.6876, allocations: 30.94 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.648e-05/0.6877, allocations: 54.94 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.6879, allocations: 72 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6879, allocations: 0 / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002167/0.6881, allocations: 113.1 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.6881, allocations: 6 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.6881, allocations: 1.094 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.6881, allocations: 6.391 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.088e-05/0.6882, allocations: 15.17 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.6883, allocations: 0.8125 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.6883, allocations: 17.17 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.6883, allocations: 4.453 kB / 1.094 GB, free: 1.727 MB / 0.8575 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 5.96e-05/0.6884, allocations: 123 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.6884, allocations: 12.17 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.6885, allocations: 10.11 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.6885, allocations: 1.719 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.6885, allocations: 0 / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.6885, allocations: 80.16 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.6885, allocations: 1.922 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.298e-05/0.6886, allocations: 8.984 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.6886, allocations: 11.72 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002615/0.6889, allocations: 192.7 kB / 1.094 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002519/0.6892, allocations: 282.2 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.825e-05/0.6893, allocations: 30.91 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.6893, allocations: 100.1 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of Backend: time 7.31e-07/0.6893, allocations: 0 / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006013/0.6899, allocations: 180.2 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of SimCode: time 0.000316/0.6902, allocations: 0.6286 MB / 1.095 GB, free: 308 kB / 0.8575 GB Notification: Performance of Templates: time 0.004099/0.6944, allocations: 1.498 MB / 1.097 GB, free: 152 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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