Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.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.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007745/0.0007745, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.000851/0.000851, allocations: 168.7 kB / 15.95 MB, free: 204 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.498/1.498, allocations: 223.2 MB / 240 MB, free: 5.297 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.99/2.99, allocations: 437.7 MB / 0.7117 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003778, allocations: 12 kB / 0.8722 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7478/0.7482, allocations: 153.8 MB / 1.022 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.001963/0.7502, allocations: 1.34 MB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1791/0.9293, allocations: 133.7 MB / 1.154 GB, free: 8.57 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.9294, allocations: 0 / 1.154 GB, free: 8.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.968e-05/0.9295, allocations: 3.938 kB / 1.154 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.9296, allocations: 23.84 kB / 1.154 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008914/0.9305, allocations: 155.4 kB / 1.154 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.9307, allocations: 79.77 kB / 1.155 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.9308, allocations: 27.88 kB / 1.155 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 9.298e-05/0.9309, allocations: 31.86 kB / 1.155 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.9311, allocations: 43.81 kB / 1.155 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.9311, allocations: 0 / 1.155 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005239/0.9316, allocations: 139.6 kB / 1.155 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 3.24e-05/0.9317, allocations: 11.98 kB / 1.155 GB, free: 8.062 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.31e-05/0.9317, allocations: 37.64 kB / 1.155 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.932, allocations: 125.6 kB / 1.155 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.932, allocations: 4 kB / 1.155 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9321, allocations: 0 / 1.155 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.9321, allocations: 0 / 1.155 GB, free: 7.895 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007207/0.9328, allocations: 424.8 kB / 1.155 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.9328, allocations: 12.56 kB / 1.155 GB, free: 7.422 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.934, allocations: 151.7 kB / 1.156 GB, free: 7.273 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.9342, allocations: 182.8 kB / 1.156 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.9343, allocations: 37.69 kB / 1.156 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.9344, allocations: 4 kB / 1.156 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005207/0.9349, allocations: 173.5 kB / 1.156 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.9349, allocations: 0 / 1.156 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.9349, allocations: 4 kB / 1.156 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.9349, allocations: 8 kB / 1.156 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007339/0.9357, allocations: 218.2 kB / 1.156 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009006/0.9366, allocations: 414.5 kB / 1.157 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004812/0.9371, allocations: 142.5 kB / 1.157 GB, free: 6 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.9375, allocations: 108.9 kB / 1.157 GB, free: 5.891 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.9375, allocations: 3.984 kB / 1.157 GB, free: 5.887 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.281e-05/0.9376, allocations: 42.45 kB / 1.157 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 4.358e-06/0.9376, allocations: 0 / 1.157 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.00127/0.9388, allocations: 349.2 kB / 1.157 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.9389, allocations: 55.34 kB / 1.157 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.9391, allocations: 143.2 kB / 1.157 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.9391, allocations: 25.7 kB / 1.157 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.9392, allocations: 100.1 kB / 1.157 GB, free: 5.141 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.9392, allocations: 15.81 kB / 1.157 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.9392, allocations: 0 / 1.157 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.9394, allocations: 318.8 kB / 1.158 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.9397, allocations: 99.92 kB / 1.158 GB, free: 4.707 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/0.9401, allocations: 103.8 kB / 1.158 GB, free: 4.605 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.9404, allocations: 91.94 kB / 1.158 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.9405, allocations: 0 / 1.158 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007402/0.9412, allocations: 241.4 kB / 1.158 GB, free: 4.273 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.9412, allocations: 4 kB / 1.158 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.9412, allocations: 0 / 1.158 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.9413, allocations: 7.984 kB / 1.158 GB, free: 4.262 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.9416, allocations: 35.97 kB / 1.158 GB, free: 4.227 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.9416, allocations: 4 kB / 1.158 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.9418, allocations: 47.8 kB / 1.158 GB, free: 4.176 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.9418, allocations: 4 kB / 1.158 GB, free: 4.172 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001127/0.9419, allocations: 117.8 kB / 1.158 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.942, allocations: 11.86 kB / 1.159 GB, free: 4.035 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.942, allocations: 20.7 kB / 1.159 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.942, allocations: 0 / 1.159 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.942, allocations: 0 / 1.159 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.9421, allocations: 0 / 1.159 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.9423, allocations: 213.6 kB / 1.159 GB, free: 3.762 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.9423, allocations: 3.984 kB / 1.159 GB, free: 3.758 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.9426, allocations: 40.41 kB / 1.159 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.9426, allocations: 3.953 kB / 1.159 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.9426, allocations: 7.984 kB / 1.159 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.9426, allocations: 4 kB / 1.159 GB, free: 3.703 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9426, allocations: 0 / 1.159 GB, free: 3.703 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007743/0.9434, allocations: 331.3 kB / 1.159 GB, free: 3.363 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.9435, allocations: 88.95 kB / 1.159 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.9435, allocations: 3.953 kB / 1.159 GB, free: 3.254 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.9438, allocations: 47.89 kB / 1.159 GB, free: 3.207 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.9438, allocations: 7.984 kB / 1.159 GB, free: 3.199 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.9438, allocations: 0 / 1.159 GB, free: 3.199 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.1e-05/0.9439, allocations: 109.2 kB / 1.159 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9439, allocations: 0 / 1.159 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002619/0.9442, allocations: 20 kB / 1.159 GB, free: 3.074 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0001865/0.9444, allocations: 115.2 kB / 1.159 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007982/0.9452, allocations: 215.8 kB / 1.16 GB, free: 2.738 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9452, allocations: 0 / 1.16 GB, free: 2.738 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003541/0.9456, allocations: 107.9 kB / 1.16 GB, free: 2.633 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.9459, allocations: 19.98 kB / 1.16 GB, free: 2.613 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.947, allocations: 314.8 kB / 1.16 GB, free: 2.281 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.9473, allocations: 0.6965 MB / 1.161 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001536/0.9475, allocations: 15.98 kB / 1.161 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.027e-05/0.9476, allocations: 11.44 kB / 1.161 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of SimCode: time 7.61e-07/0.9476, allocations: 0 / 1.161 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of Templates: time 0.004718/0.9523, allocations: 1.342 MB / 1.162 GB, free: 204 kB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches