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.0009629/0.000963, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 182.5 kB / 16.92 MB, free: 6.918 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.42/1.42, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.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.679/2.679, allocations: 437.8 MB / 0.7128 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003612, allocations: 8 kB / 0.8735 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6585/0.6588, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001714/0.6606, allocations: 1.211 MB / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.6619, allocations: 0.717 MB / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.127e-05/0.662, allocations: 0 / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.17e-05/0.662, allocations: 7.938 kB / 1.026 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.052e-05/0.6621, allocations: 11.92 kB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004946/0.6626, allocations: 103.8 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.6627, allocations: 71.78 kB / 1.026 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.285e-05/0.6628, allocations: 11.98 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.737e-05/0.6629, allocations: 31.91 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.782e-05/0.6629, allocations: 31.78 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.663, allocations: 8 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.6632, allocations: 91.91 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.306e-05/0.6632, allocations: 15.91 kB / 1.026 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.447e-05/0.6632, allocations: 53.56 kB / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.6634, allocations: 97.78 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.6634, allocations: 0 / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6634, allocations: 0 / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.6635, allocations: 0 / 1.026 GB, free: 13.38 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.0005611/0.664, allocations: 417 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.6641, allocations: 8.031 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.6641, allocations: 8.844 kB / 1.027 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.6642, allocations: 176.2 kB / 1.027 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.6643, allocations: 8.312 kB / 1.027 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.6643, allocations: 4.375 kB / 1.027 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.6645, allocations: 77.91 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.6645, allocations: 0 / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.6645, allocations: 4 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.6645, allocations: 4 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.6647, allocations: 39.97 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005844/0.6653, allocations: 328.6 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.6654, allocations: 50.56 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.057e-05/0.6655, allocations: 36.95 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.6656, allocations: 0 / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.6658, allocations: 91.28 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.6658, allocations: 0 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003979/0.6662, allocations: 141.6 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.6662, allocations: 63.41 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.6663, allocations: 125.7 kB / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.6664, allocations: 25.7 kB / 1.028 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.6664, allocations: 88.14 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.6664, allocations: 15.88 kB / 1.028 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.6665, allocations: 21.7 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.6666, allocations: 322.8 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.661e-05/0.6667, allocations: 31.97 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.433e-05/0.6668, allocations: 51 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.667, allocations: 82.48 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.667, allocations: 4 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002528/0.6673, allocations: 113.5 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.6673, allocations: 7.938 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.6673, allocations: 0 / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.6673, allocations: 4.062 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.84e-05/0.6674, allocations: 19.92 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.6674, allocations: 0 / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.337e-05/0.6675, allocations: 15.94 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.6675, allocations: 4 kB / 1.028 GB, free: 10.79 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 9.69e-05/0.6676, allocations: 118.3 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.6676, allocations: 11.89 kB / 1.029 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.6677, allocations: 12.38 kB / 1.029 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.6677, allocations: 0 / 1.029 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.6677, allocations: 0 / 1.029 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.6677, allocations: 0 / 1.029 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004566/0.6682, allocations: 390.4 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6682, allocations: 4 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.935e-05/0.6682, allocations: 4 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.6682, allocations: 4 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.6683, allocations: 7.984 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6683, allocations: 3.938 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6683, allocations: 3.938 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.6686, allocations: 211.4 kB / 1.029 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.6686, allocations: 92.98 kB / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.6686, allocations: 8 kB / 1.029 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.772e-05/0.6687, allocations: 4 kB / 1.029 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.6688, allocations: 7.922 kB / 1.029 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.6688, allocations: 4 kB / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.988e-05/0.6689, allocations: 95.42 kB / 1.029 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6689, allocations: 0 / 1.029 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002954/0.6692, allocations: 36 kB / 1.029 GB, free: 9.688 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.0003478/0.6695, allocations: 161.2 kB / 1.03 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002379/0.6698, allocations: 83.86 kB / 1.03 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.6698, allocations: 4.125 kB / 1.03 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.6699, allocations: 39.98 kB / 1.03 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.6701, allocations: 7.984 kB / 1.03 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004105/0.6706, allocations: 235.5 kB / 1.03 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.6708, allocations: 0.6848 MB / 1.031 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.6709, allocations: 19.42 kB / 1.031 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of SimCode: time 5.51e-07/0.6709, allocations: 0 / 1.031 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of Templates: time 0.003393/0.6743, allocations: 1.593 MB / 1.032 GB, free: 6.812 MB / 0.7794 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 -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) Reference file matches