Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.002123/0.002123, allocations: 108 kB / 15.61 MB, free: 152 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.001983/0.001983, allocations: 197 kB / 16.53 MB, free: 6.664 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.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.988/2.988, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001269, allocations: 67.92 kB / 0.9121 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3571, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.002981/0.3602, allocations: 1.655 MB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.161/0.5212, allocations: 147.3 MB / 1.214 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.505e-05/0.5213, allocations: 0 / 1.214 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.998e-05/0.5214, allocations: 15.8 kB / 1.214 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.275e-05/0.5215, allocations: 19.8 kB / 1.214 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008471/0.5223, allocations: 247.1 kB / 1.214 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.5225, allocations: 79.78 kB / 1.214 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.5226, allocations: 23.98 kB / 1.214 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.147e-05/0.5227, allocations: 43.84 kB / 1.214 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.066e-05/0.5227, allocations: 47.77 kB / 1.214 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.5228, allocations: 12 kB / 1.214 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004968/0.5233, allocations: 247.3 kB / 1.214 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.5233, allocations: 15.98 kB / 1.214 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.382e-05/0.5234, allocations: 43.67 kB / 1.214 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.5237, allocations: 207.8 kB / 1.215 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5237, allocations: 0 / 1.215 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5237, allocations: 0 / 1.215 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.5237, allocations: 0 / 1.215 GB, free: 3.934 MB / 0.9669 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.0006225/0.5243, allocations: 431 kB / 1.215 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.5244, allocations: 12.03 kB / 1.215 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.5256, allocations: 156.6 kB / 1.215 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.5258, allocations: 172.2 kB / 1.215 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.968e-05/0.5258, allocations: 45.62 kB / 1.215 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.5259, allocations: 4 kB / 1.215 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005781/0.5264, allocations: 157.5 kB / 1.216 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.5265, allocations: 0 / 1.216 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.5265, allocations: 8 kB / 1.216 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.5265, allocations: 3.984 kB / 1.216 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009079/0.5274, allocations: 191.8 kB / 1.216 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008797/0.5283, allocations: 430.2 kB / 1.216 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005189/0.5288, allocations: 130.5 kB / 1.216 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003994/0.5292, allocations: 100.9 kB / 1.216 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.5293, allocations: 8 kB / 1.216 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.5293, allocations: 34.5 kB / 1.216 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.5293, allocations: 0 / 1.216 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.001415/0.5307, allocations: 313.3 kB / 1.217 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.5308, allocations: 51.41 kB / 1.217 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.5309, allocations: 147.7 kB / 1.217 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.5309, allocations: 25.7 kB / 1.217 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.531, allocations: 100 kB / 1.217 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.5311, allocations: 15.88 kB / 1.217 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.864e-05/0.5311, allocations: 21.72 kB / 1.217 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.5312, allocations: 318.8 kB / 1.217 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004085/0.5316, allocations: 91.91 kB / 1.217 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/0.532, allocations: 83.92 kB / 1.218 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007569/0.5328, allocations: 176.6 kB / 1.218 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5328, allocations: 384 / 1.218 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008613/0.5337, allocations: 229.4 kB / 1.218 GB, free: 328 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.5337, allocations: 11.94 kB / 1.218 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.5337, allocations: 0 / 1.218 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.5337, allocations: 4 kB / 1.218 GB, free: 312 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.5341, allocations: 35.95 kB / 1.218 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.5341, allocations: 0 / 1.218 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.5343, allocations: 39.86 kB / 1.218 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.5343, allocations: 0 / 1.218 GB, free: 236 kB / 0.9669 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.0001024/0.5345, allocations: 119.3 kB / 1.218 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.018e-05/0.5345, allocations: 11.84 kB / 1.218 GB, free: 96 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.309e-05/0.5346, allocations: 16.7 kB / 1.218 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5346, allocations: 0 / 1.218 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5346, allocations: 4 kB / 1.218 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.5346, allocations: 3.938 kB / 1.218 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.5349, allocations: 221.5 kB / 1.218 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.5349, allocations: 3.984 kB / 1.218 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.5352, allocations: 35.95 kB / 1.218 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5352, allocations: 3.938 kB / 1.218 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.5352, allocations: 4 kB / 1.218 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5352, allocations: 0 / 1.218 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5352, allocations: 0 / 1.218 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008798/0.5361, allocations: 315.3 kB / 1.219 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.5362, allocations: 84.95 kB / 1.219 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.5362, allocations: 4 kB / 1.219 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.5365, allocations: 35.95 kB / 1.219 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.5365, allocations: 4 kB / 1.219 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.5365, allocations: 3.984 kB / 1.219 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.064e-05/0.5366, allocations: 117.6 kB / 1.219 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5366, allocations: 4 kB / 1.219 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002476/0.5369, allocations: 16 kB / 1.219 GB, free: 15.14 MB / 0.9825 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.0001508/0.537, allocations: 107.8 kB / 1.219 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008941/0.5379, allocations: 196 kB / 1.219 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5379, allocations: 3.938 kB / 1.219 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004111/0.5384, allocations: 99.84 kB / 1.219 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.5387, allocations: 15.98 kB / 1.219 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.54, allocations: 302.4 kB / 1.22 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.5403, allocations: 0.6981 MB / 1.22 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001297/0.5404, allocations: 19.98 kB / 1.22 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.291e-05/0.5405, allocations: 15.44 kB / 1.22 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of SimCode: time 2.01e-07/0.5405, allocations: 0 / 1.22 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of Templates: time 0.004098/0.5446, allocations: 1.585 MB / 1.222 GB, free: 12.08 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches