Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 108.3 kB / 16.41 MB, free: 6.434 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.001694/0.001694, allocations: 187.9 kB / 17.35 MB, free: 5.688 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.348/1.348, allocations: 222.9 MB / 241.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.511/2.511, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 64.12 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.68/0.6814, allocations: 151.6 MB / 1.167 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002295/0.6837, allocations: 1.49 MB / 1.169 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.6849, allocations: 0.74 MB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.856e-05/0.6849, allocations: 0 / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.673e-05/0.685, allocations: 3.938 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.204e-05/0.685, allocations: 11.88 kB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000492/0.6855, allocations: 119.6 kB / 1.17 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.6856, allocations: 79.77 kB / 1.17 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.144e-05/0.6857, allocations: 8 kB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.801e-05/0.6858, allocations: 35.91 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.588e-05/0.6859, allocations: 43.83 kB / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.6859, allocations: 7.938 kB / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.6861, allocations: 95.91 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.462e-05/0.6861, allocations: 15.97 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/0.6862, allocations: 35.8 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.6864, allocations: 140.5 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.6864, allocations: 0 / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6864, allocations: 0 / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.6864, allocations: 8 kB / 1.17 GB, free: 1.152 MB / 0.8887 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.0005671/0.687, allocations: 416.7 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.6871, allocations: 12.03 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.6871, allocations: 4.891 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.6872, allocations: 180.2 kB / 1.171 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.6872, allocations: 8.375 kB / 1.171 GB, free: 464 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.6873, allocations: 12.36 kB / 1.171 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.6875, allocations: 81.95 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.6875, allocations: 0 / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.6875, allocations: 0 / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.6875, allocations: 0 / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.6876, allocations: 39.91 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.6882, allocations: 308.8 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.6883, allocations: 50.56 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.594e-05/0.6884, allocations: 32.97 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.6885, allocations: 3.938 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.6886, allocations: 75.31 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 3.055e-06/0.6886, allocations: 0 / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.000371/0.689, allocations: 149.6 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.6891, allocations: 59.39 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.835e-05/0.6891, allocations: 117.8 kB / 1.172 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.6892, allocations: 33.7 kB / 1.172 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.6892, allocations: 92.08 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.6892, allocations: 15.91 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.6893, allocations: 29.7 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.683e-05/0.6894, allocations: 322.8 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.136e-05/0.6895, allocations: 31.91 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.673e-05/0.6896, allocations: 46.56 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.6897, allocations: 66.55 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.6897, allocations: 8 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002274/0.69, allocations: 113.5 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.69, allocations: 8 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.69, allocations: 0 / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.69, allocations: 3.938 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.477e-05/0.6901, allocations: 11.98 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.6901, allocations: 4 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.525e-05/0.6902, allocations: 4.062 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.6902, allocations: 12 kB / 1.172 GB, free: 14.6 MB / 0.9044 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 7.732e-05/0.6903, allocations: 121.7 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.6903, allocations: 7.953 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.294e-05/0.6904, allocations: 8.359 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.6904, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6904, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/0.6904, allocations: 93 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.6904, allocations: 3.938 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.761e-05/0.6905, allocations: 15.92 kB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.6906, allocations: 0 / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002723/0.6908, allocations: 185.3 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002829/0.6911, allocations: 290.8 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.824e-05/0.6912, allocations: 39.92 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.302e-05/0.6913, allocations: 91.27 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of Backend: time 2.2e-07/0.6913, allocations: 0 / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006094/0.6919, allocations: 187.3 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004144/0.6923, allocations: 0.6216 MB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of Templates: time 0.00384/0.6962, allocations: 1.493 MB / 1.175 GB, free: 11.38 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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