Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,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.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,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.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001379/0.001379, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 223.3 MB / 240 MB, free: 5.41 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.864/2.864, allocations: 437.7 MB / 0.7117 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004396/0.0004398, allocations: 16 kB / 0.8722 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8499/0.8503, allocations: 153.8 MB / 1.022 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.0024/0.8528, allocations: 1.328 MB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.8544, allocations: 0.7446 MB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.762e-05/0.8545, allocations: 0 / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.845e-05/0.8545, allocations: 3.938 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.055e-05/0.8546, allocations: 27.78 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006242/0.8553, allocations: 123.7 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.8555, allocations: 135.5 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.8556, allocations: 17.11 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.8558, allocations: 59.83 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.8559, allocations: 67.78 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.8559, allocations: 4 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.8561, allocations: 95.78 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.773e-05/0.8562, allocations: 31.89 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.016e-05/0.8562, allocations: 37.7 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.8565, allocations: 145.6 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.8565, allocations: 7.938 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8565, allocations: 0 / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.8565, allocations: 4 kB / 1.025 GB, free: 13.22 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008241/0.8573, allocations: 0.5134 MB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/0.8574, allocations: 12.56 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/0.8575, allocations: 7.906 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.8576, allocations: 182.7 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.417e-05/0.8577, allocations: 8 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/0.8577, allocations: 11.98 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004762/0.8582, allocations: 161.4 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.8582, allocations: 0 / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.8582, allocations: 4 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.8582, allocations: 3.984 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004105/0.8587, allocations: 127.8 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008167/0.8595, allocations: 388.6 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/0.8598, allocations: 118.5 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/0.8602, allocations: 104.7 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.8602, allocations: 0 / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004291/0.8606, allocations: 155.3 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.8606, allocations: 0 / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001121/0.8618, allocations: 357.6 kB / 1.027 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.8618, allocations: 55.5 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.862, allocations: 152.8 kB / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.862, allocations: 29.7 kB / 1.027 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/0.8621, allocations: 104.4 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.8621, allocations: 23.66 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.8621, allocations: 0 / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.8623, allocations: 330.8 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.8624, allocations: 43.97 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.8626, allocations: 97.05 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.8628, allocations: 51.98 kB / 1.028 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.8628, allocations: 0 / 1.028 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003804/0.8632, allocations: 173.5 kB / 1.028 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.8632, allocations: 4 kB / 1.028 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.8632, allocations: 4 kB / 1.028 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.8632, allocations: 0 / 1.028 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.8634, allocations: 24.03 kB / 1.028 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.8634, allocations: 11.94 kB / 1.028 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.8635, allocations: 31.89 kB / 1.028 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.8635, allocations: 4 kB / 1.028 GB, free: 9.711 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.8637, allocations: 125.4 kB / 1.028 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.8637, allocations: 7.906 kB / 1.028 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.8637, allocations: 16.72 kB / 1.028 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.8637, allocations: 0 / 1.028 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.8638, allocations: 4 kB / 1.028 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.8638, allocations: 4 kB / 1.028 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009781/0.8647, allocations: 0.553 MB / 1.029 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8648, allocations: 0 / 1.029 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.078e-05/0.8648, allocations: 15.98 kB / 1.029 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.8649, allocations: 4 kB / 1.029 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.8649, allocations: 7.984 kB / 1.029 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.8649, allocations: 3.984 kB / 1.029 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.8649, allocations: 0 / 1.029 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007651/0.8657, allocations: 371.1 kB / 1.029 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.8657, allocations: 81.02 kB / 1.029 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.8658, allocations: 4 kB / 1.029 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.866, allocations: 35.97 kB / 1.029 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.866, allocations: 8.078 kB / 1.029 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.8661, allocations: 7.969 kB / 1.03 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.068e-05/0.8661, allocations: 108.5 kB / 1.03 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8661, allocations: 0 / 1.03 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004451/0.8666, allocations: 51.92 kB / 1.03 GB, free: 8.223 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: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003998/0.867, allocations: 155.2 kB / 1.03 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005221/0.8675, allocations: 167.8 kB / 1.03 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.8676, allocations: 0 / 1.03 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003123/0.8679, allocations: 112.1 kB / 1.03 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.8682, allocations: 11.94 kB / 1.03 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006875/0.8689, allocations: 305.2 kB / 1.03 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.8692, allocations: 0.6965 MB / 1.031 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.791e-05/0.8692, allocations: 11.98 kB / 1.031 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.8693, allocations: 11.44 kB / 1.031 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8693, allocations: 0 / 1.031 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of Templates: time 0.004841/0.8741, allocations: 1.825 MB / 1.033 GB, free: 4.902 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches