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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.005532/0.005532, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001294/0.001294, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.652/2.652, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 67.89 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.4351, allocations: 151.6 MB / 1.167 GB, free: 6.77 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.003594/0.4387, allocations: 1.646 MB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 1.069/1.508, allocations: 147.3 MB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/1.508, allocations: 1.062 kB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.79e-05/1.508, allocations: 11.44 kB / 1.312 GB, free: 12.92 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/1.508, allocations: 13.2 kB / 1.312 GB, free: 12.91 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/1.51, allocations: 242 kB / 1.312 GB, free: 12.87 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001964/1.51, allocations: 98.55 kB / 1.312 GB, free: 12.85 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/1.51, allocations: 28.14 kB / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.493e-05/1.51, allocations: 40.94 kB / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/1.51, allocations: 41.88 kB / 1.313 GB, free: 12.83 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/1.51, allocations: 7.438 kB / 1.313 GB, free: 12.83 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006765/1.511, allocations: 245.9 kB / 1.313 GB, free: 12.8 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.696e-05/1.511, allocations: 21.14 kB / 1.313 GB, free: 12.8 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.607e-05/1.511, allocations: 38.38 kB / 1.313 GB, free: 12.79 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005478/1.512, allocations: 208.8 kB / 1.313 GB, free: 12.77 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.512, allocations: 0.6094 kB / 1.313 GB, free: 12.77 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.492e-06/1.512, allocations: 0 / 1.313 GB, free: 12.77 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.725e-06/1.512, allocations: 5.188 kB / 1.313 GB, free: 12.76 MB / 1.014 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.000825/1.512, allocations: 429.6 kB / 1.313 GB, free: 12.37 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/1.512, allocations: 9.062 kB / 1.313 GB, free: 12.37 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/1.514, allocations: 152.6 kB / 1.314 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/1.514, allocations: 181.2 kB / 1.314 GB, free: 12.15 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.145e-05/1.514, allocations: 41.36 kB / 1.314 GB, free: 12.12 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/1.514, allocations: 10.97 kB / 1.314 GB, free: 12.11 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005889/1.515, allocations: 161.4 kB / 1.314 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.515, allocations: 0 / 1.314 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/1.515, allocations: 4.75 kB / 1.314 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/1.515, allocations: 1 kB / 1.314 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008632/1.516, allocations: 196.6 kB / 1.314 GB, free: 12.06 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000959/1.516, allocations: 428.8 kB / 1.315 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005396/1.517, allocations: 130.6 kB / 1.315 GB, free: 11.74 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004153/1.517, allocations: 98.34 kB / 1.315 GB, free: 11.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/1.518, allocations: 5.359 kB / 1.315 GB, free: 11.73 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/1.518, allocations: 30.56 kB / 1.315 GB, free: 11.69 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/1.518, allocations: 5.312 kB / 1.315 GB, free: 11.69 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.001451/1.519, allocations: 313 kB / 1.315 GB, free: 11.64 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/1.519, allocations: 56.47 kB / 1.315 GB, free: 11.57 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/1.519, allocations: 143.7 kB / 1.315 GB, free: 11.47 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/1.519, allocations: 29.95 kB / 1.315 GB, free: 11.44 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.353e-05/1.519, allocations: 97.17 kB / 1.315 GB, free: 11.36 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/1.519, allocations: 20.2 kB / 1.315 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-05/1.519, allocations: 20.8 kB / 1.315 GB, free: 11.32 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.52, allocations: 322.2 kB / 1.316 GB, free: 11.01 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000419/1.52, allocations: 88.98 kB / 1.316 GB, free: 11.01 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003993/1.52, allocations: 91.88 kB / 1.316 GB, free: 11 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007698/1.521, allocations: 170.3 kB / 1.316 GB, free: 10.99 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-05/1.521, allocations: 4 kB / 1.316 GB, free: 10.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008843/1.522, allocations: 218.7 kB / 1.316 GB, free: 10.94 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/1.522, allocations: 14.16 kB / 1.316 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/1.522, allocations: 0 / 1.316 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/1.522, allocations: 0.7188 kB / 1.316 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/1.523, allocations: 36.25 kB / 1.316 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/1.523, allocations: 0.7031 kB / 1.316 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/1.523, allocations: 36.27 kB / 1.316 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/1.523, allocations: 4.672 kB / 1.316 GB, free: 10.93 MB / 1.014 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001167/1.523, allocations: 116.2 kB / 1.317 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/1.523, allocations: 12.03 kB / 1.317 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.853e-05/1.523, allocations: 16.02 kB / 1.317 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/1.523, allocations: 1.281 kB / 1.317 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/1.523, allocations: 0 / 1.317 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.523, allocations: 1.734 kB / 1.317 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/1.523, allocations: 220 kB / 1.317 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.523, allocations: 1 kB / 1.317 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002832/1.524, allocations: 44.23 kB / 1.317 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/1.524, allocations: 5.609 kB / 1.317 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/1.524, allocations: 0.75 kB / 1.317 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/1.524, allocations: 1.062 kB / 1.317 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.524, allocations: 0.6094 kB / 1.317 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009512/1.525, allocations: 312.7 kB / 1.317 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/1.525, allocations: 87.75 kB / 1.317 GB, free: 10.35 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/1.525, allocations: 8.828 kB / 1.317 GB, free: 10.35 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/1.525, allocations: 32.2 kB / 1.317 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.238e-05/1.525, allocations: 12.66 kB / 1.317 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/1.525, allocations: 3.141 kB / 1.317 GB, free: 10.34 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.22e-05/1.525, allocations: 107.5 kB / 1.317 GB, free: 10.27 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.21e-07/1.525, allocations: 0 / 1.317 GB, free: 10.27 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002644/1.526, allocations: 24.7 kB / 1.317 GB, free: 10.26 MB / 1.014 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 (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.000183/1.526, allocations: 110.6 kB / 1.317 GB, free: 10.17 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009007/1.527, allocations: 193.7 kB / 1.318 GB, free: 10.16 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.527, allocations: 0 / 1.318 GB, free: 10.16 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004268/1.527, allocations: 104.4 kB / 1.318 GB, free: 10.15 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/1.527, allocations: 21.19 kB / 1.318 GB, free: 10.14 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/1.529, allocations: 308 kB / 1.318 GB, free: 9.996 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/1.529, allocations: 0.6931 MB / 1.319 GB, free: 9.301 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001331/1.529, allocations: 15.09 kB / 1.319 GB, free: 9.293 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.521e-05/1.529, allocations: 16.62 kB / 1.319 GB, free: 9.285 MB / 1.014 GB Notification: Performance of SimCode: time 3.61e-07/1.529, allocations: 4 kB / 1.319 GB, free: 9.281 MB / 1.014 GB Notification: Performance of Templates: time 0.005622/1.535, allocations: 1.587 MB / 1.32 GB, free: 9.176 MB / 1.014 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