Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009274/0.0009273, allocations: 99.42 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.001135/0.001135, allocations: 185.8 kB / 16.92 MB, free: 6.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.355/1.355, allocations: 223.3 MB / 241 MB, free: 5.344 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.682/2.682, allocations: 437.8 MB / 0.7128 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.000351, allocations: 8.281 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6595/0.6599, allocations: 153.8 MB / 1.024 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001807/0.6617, allocations: 1.211 MB / 1.025 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.6631, allocations: 0.7247 MB / 1.026 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.6632, allocations: 0 / 1.026 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.6632, allocations: 0 / 1.026 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.716e-05/0.6633, allocations: 11.92 kB / 1.026 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005346/0.6638, allocations: 107.8 kB / 1.026 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.664, allocations: 75.72 kB / 1.026 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.661e-05/0.6641, allocations: 11.98 kB / 1.026 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.927e-05/0.6642, allocations: 27.91 kB / 1.026 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.484e-05/0.6643, allocations: 39.83 kB / 1.026 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.6643, allocations: 4 kB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.6645, allocations: 91.84 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.923e-05/0.6646, allocations: 15.92 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.713e-05/0.6646, allocations: 49.56 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.6648, allocations: 105.9 kB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6648, allocations: 0 / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6649, allocations: 0 / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.6649, allocations: 0 / 1.026 GB, free: 13.63 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.0006136/0.6655, allocations: 409 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.6655, allocations: 8.031 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.6656, allocations: 8.844 kB / 1.027 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.6657, allocations: 176.2 kB / 1.027 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/0.6658, allocations: 16.31 kB / 1.027 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.6658, allocations: 4.375 kB / 1.027 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.666, allocations: 73.91 kB / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.666, allocations: 0 / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.666, allocations: 4 kB / 1.027 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.666, allocations: 0 / 1.027 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.6662, allocations: 47.97 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006611/0.6669, allocations: 316.7 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.667, allocations: 62.5 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.845e-05/0.6671, allocations: 36.95 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.6672, allocations: 0 / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/0.6674, allocations: 79.28 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.6674, allocations: 4 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004078/0.6678, allocations: 145.6 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.6678, allocations: 59.47 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.668, allocations: 121.7 kB / 1.028 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.668, allocations: 33.7 kB / 1.028 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.6681, allocations: 88.14 kB / 1.028 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.6681, allocations: 15.81 kB / 1.028 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.6681, allocations: 21.64 kB / 1.028 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.6682, allocations: 322.8 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.861e-05/0.6683, allocations: 31.97 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.646e-05/0.6684, allocations: 50.56 kB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.6686, allocations: 82.78 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.6686, allocations: 0 / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002602/0.6689, allocations: 125.5 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.6689, allocations: 7.938 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.6689, allocations: 4 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.669, allocations: 4 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.234e-05/0.6691, allocations: 11.98 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.6691, allocations: 0 / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.719e-05/0.6691, allocations: 12 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.6692, allocations: 4 kB / 1.028 GB, free: 11.05 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.792e-05/0.6693, allocations: 131.6 kB / 1.029 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.6693, allocations: 3.906 kB / 1.029 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.6693, allocations: 12.36 kB / 1.029 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.6693, allocations: 0 / 1.029 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6693, allocations: 0 / 1.029 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.6694, allocations: 0 / 1.029 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.6699, allocations: 394.5 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.6699, allocations: 0 / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.189e-05/0.6699, allocations: 7.938 kB / 1.029 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6699, allocations: 0 / 1.029 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.6699, allocations: 3.984 kB / 1.029 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.6699, allocations: 4 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.67, allocations: 3.938 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.6703, allocations: 219.4 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.6703, allocations: 81.02 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.6703, allocations: 3.984 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.788e-05/0.6704, allocations: 4 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.6705, allocations: 15.92 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.6705, allocations: 8 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.993e-05/0.6705, allocations: 91.27 kB / 1.029 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6706, allocations: 0 / 1.029 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003112/0.6709, allocations: 36 kB / 1.029 GB, free: 9.945 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.0003683/0.6712, allocations: 167.9 kB / 1.03 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002438/0.6715, allocations: 75.95 kB / 1.03 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6715, allocations: 0 / 1.03 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.6716, allocations: 40.31 kB / 1.03 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.6719, allocations: 16.11 kB / 1.03 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.6723, allocations: 223.7 kB / 1.03 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.6726, allocations: 0.6848 MB / 1.031 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.6726, allocations: 15.42 kB / 1.031 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.6726, allocations: 4 kB / 1.031 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of Templates: time 0.003398/0.676, allocations: 1.605 MB / 1.032 GB, free: 7.066 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches