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.002126/0.002126, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002447/0.002447, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.745/1.745, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.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.958/2.958, allocations: 437 MB / 0.7099 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 59.91 kB / 0.8686 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8759/0.8778, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.003111/0.881, allocations: 1.569 MB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.8824, allocations: 0.7478 MB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.909e-05/0.8825, allocations: 0 / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.212e-05/0.8825, allocations: 4 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.113e-05/0.8826, allocations: 11.86 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.8831, allocations: 91.84 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.8832, allocations: 79.75 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.635e-05/0.8833, allocations: 12 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.319e-05/0.8834, allocations: 31.91 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.722e-05/0.8835, allocations: 39.83 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.8835, allocations: 0 / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.8837, allocations: 91.84 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.584e-05/0.8838, allocations: 19.92 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.999e-05/0.8838, allocations: 27.84 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.8841, allocations: 133.6 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8841, allocations: 4 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.01e-07/0.8841, allocations: 0 / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.8841, allocations: 0 / 1.019 GB, free: 15.93 MB / 0.7794 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.0006973/0.8848, allocations: 421 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.8849, allocations: 8.031 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.8849, allocations: 8.844 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.8851, allocations: 176.2 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.8851, allocations: 4.375 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.8852, allocations: 8.375 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.8854, allocations: 69.97 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.8854, allocations: 4 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.8855, allocations: 7.922 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.8855, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.8856, allocations: 31.98 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006666/0.8863, allocations: 328.6 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.8864, allocations: 46.56 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.058e-05/0.8865, allocations: 32.97 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.8866, allocations: 0 / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.8868, allocations: 79.31 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.8868, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004508/0.8873, allocations: 145.7 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.8873, allocations: 59.39 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.8875, allocations: 113.8 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.8876, allocations: 33.7 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.8876, allocations: 88.12 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.8877, allocations: 23.88 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/0.8877, allocations: 29.7 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.8879, allocations: 318.8 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.747e-05/0.888, allocations: 27.97 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.8881, allocations: 46.56 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.8883, allocations: 78.55 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.8883, allocations: 4 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003234/0.8886, allocations: 109.5 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.8887, allocations: 8 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.8887, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.8887, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.264e-05/0.8888, allocations: 16 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.8888, allocations: 11.92 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.165e-05/0.8889, allocations: 11.84 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.8889, allocations: 8 kB / 1.022 GB, free: 13.37 MB / 0.7794 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.0001081/0.889, allocations: 117.8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.889, allocations: 4 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.8891, allocations: 12.36 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.8891, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.8891, allocations: 4 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.8891, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005048/0.8896, allocations: 386.3 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.8896, allocations: 4 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.739e-05/0.8897, allocations: 0 / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.8897, allocations: 4 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.8897, allocations: 3.984 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.8897, allocations: 0 / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8897, allocations: 7.938 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.89, allocations: 207.4 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.8901, allocations: 77.11 kB / 1.022 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.8901, allocations: 3.984 kB / 1.022 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.012e-05/0.8902, allocations: 7.938 kB / 1.022 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.8903, allocations: 11.92 kB / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.8903, allocations: 8 kB / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.653e-05/0.8903, allocations: 95.27 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8904, allocations: 3.938 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003016/0.8907, allocations: 36 kB / 1.023 GB, free: 12.29 MB / 0.7794 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.0003865/0.8911, allocations: 158.4 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002541/0.8913, allocations: 80.11 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.8913, allocations: 4 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.8914, allocations: 36.12 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.8917, allocations: 9.703 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004223/0.8921, allocations: 194.2 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/0.8926, allocations: 0.6926 MB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.789e-05/0.8927, allocations: 4 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.8927, allocations: 7.438 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.8927, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of Templates: time 0.004597/0.8973, allocations: 1.37 MB / 1.025 GB, free: 9.703 MB / 0.7794 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=400 -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/jenkins/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