Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Zhang2012WindowsEast,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.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_10_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.001016/0.001016, allocations: 104.4 kB / 16.35 MB, free: 5.828 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.001012/0.001012, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.437/2.437, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 64.72 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3302, allocations: 151.6 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.00291/0.3332, allocations: 1.503 MB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.3345, allocations: 0.7298 MB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.434e-05/0.3345, allocations: 8 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.825e-05/0.3346, allocations: 7.875 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.579e-05/0.3346, allocations: 11.81 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005624/0.3352, allocations: 119.6 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.3353, allocations: 83.75 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3355, allocations: 8 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.446e-05/0.3356, allocations: 31.92 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.482e-05/0.3356, allocations: 47.81 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.3357, allocations: 8 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.3359, allocations: 95.84 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.722e-05/0.3359, allocations: 15.92 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.087e-05/0.3359, allocations: 31.86 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.3362, allocations: 143.6 kB / 1.022 GB, free: 6.992 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3362, allocations: 0 / 1.022 GB, free: 6.992 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3362, allocations: 0 / 1.022 GB, free: 6.992 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.3362, allocations: 0 / 1.022 GB, free: 6.992 MB / 0.795 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.0007056/0.3369, allocations: 421 kB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.337, allocations: 11.97 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.337, allocations: 8.844 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.3372, allocations: 180.2 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.3372, allocations: 384 / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.3373, allocations: 4.375 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.3374, allocations: 73.97 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3375, allocations: 3.938 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.3375, allocations: 7.984 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3375, allocations: 0 / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.3376, allocations: 35.98 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006141/0.3382, allocations: 320.7 kB / 1.023 GB, free: 5.801 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.3384, allocations: 46.56 kB / 1.023 GB, free: 5.746 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.616e-05/0.3385, allocations: 36.97 kB / 1.023 GB, free: 5.707 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.3385, allocations: 0 / 1.023 GB, free: 5.707 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.3387, allocations: 79.31 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.3387, allocations: 0 / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0003859/0.3391, allocations: 137.8 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.3391, allocations: 59.39 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.546e-05/0.3392, allocations: 117.8 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.3393, allocations: 29.7 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.3393, allocations: 92.12 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.3393, allocations: 19.81 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.3394, allocations: 33.7 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.946e-05/0.3395, allocations: 314.8 kB / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.714e-05/0.3396, allocations: 35.97 kB / 1.024 GB, free: 4.742 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.352e-05/0.3397, allocations: 46.5 kB / 1.024 GB, free: 4.688 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.3398, allocations: 78.55 kB / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3398, allocations: 0 / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002192/0.3401, allocations: 117.5 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3401, allocations: 6.5 kB / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3401, allocations: 0 / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3401, allocations: 7.938 kB / 1.024 GB, free: 4.469 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.376e-05/0.3402, allocations: 11.94 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3402, allocations: 3.984 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.239e-05/0.3403, allocations: 7.906 kB / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.3403, allocations: 8 kB / 1.024 GB, free: 4.438 MB / 0.795 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 9.486e-05/0.3404, allocations: 122.3 kB / 1.024 GB, free: 4.309 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.3404, allocations: 7.984 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.3405, allocations: 12.36 kB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3405, allocations: 4 kB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3405, allocations: 0 / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3405, allocations: 4 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.3409, allocations: 386.2 kB / 1.024 GB, free: 3.848 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3409, allocations: 4 kB / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.739e-05/0.341, allocations: 4 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.341, allocations: 0 / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.341, allocations: 3.984 kB / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.341, allocations: 4 kB / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.341, allocations: 3.938 kB / 1.024 GB, free: 3.828 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.3413, allocations: 207.4 kB / 1.025 GB, free: 3.609 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.3413, allocations: 85.11 kB / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.3414, allocations: 3.984 kB / 1.025 GB, free: 3.504 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.465e-05/0.3414, allocations: 4 kB / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.3415, allocations: 11.92 kB / 1.025 GB, free: 3.488 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.3415, allocations: 4 kB / 1.025 GB, free: 3.484 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.267e-05/0.3416, allocations: 91.27 kB / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3416, allocations: 0 / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002826/0.3418, allocations: 36 kB / 1.025 GB, free: 3.359 MB / 0.795 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.0003415/0.3422, allocations: 167.8 kB / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.3424, allocations: 80.09 kB / 1.025 GB, free: 3.125 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3424, allocations: 0 / 1.025 GB, free: 3.125 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.279e-05/0.3425, allocations: 31.98 kB / 1.025 GB, free: 3.094 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.3428, allocations: 16.11 kB / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.3432, allocations: 176.3 kB / 1.025 GB, free: 2.875 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.3434, allocations: 0.6885 MB / 1.026 GB, free: 2.16 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.245e-05/0.3435, allocations: 0 / 1.026 GB, free: 2.16 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.3435, allocations: 11.44 kB / 1.026 GB, free: 2.148 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3435, allocations: 4 kB / 1.026 GB, free: 2.145 MB / 0.795 GB Notification: Performance of Templates: time 0.004572/0.3481, allocations: 1.451 MB / 1.027 GB, free: 0.6953 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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