Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005534/0.005534, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001301/0.001301, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.256/1.256, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.083/2.083, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 67.91 kB / 0.9504 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7084/0.7096, allocations: 140.4 MB / 1.088 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio): time 0.002647/0.7123, allocations: 1.673 MB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1577/0.87, allocations: 147.3 MB / 1.233 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.335e-05/0.8701, allocations: 0.9688 kB / 1.233 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.766e-05/0.8702, allocations: 12.89 kB / 1.233 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.322e-05/0.8703, allocations: 14.14 kB / 1.233 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009048/0.8712, allocations: 250.8 kB / 1.233 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.8714, allocations: 92.06 kB / 1.233 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.8715, allocations: 31.81 kB / 1.233 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.472e-05/0.8716, allocations: 33.33 kB / 1.233 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.656e-05/0.8717, allocations: 48.11 kB / 1.233 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.8717, allocations: 11.69 kB / 1.233 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005394/0.8723, allocations: 250.9 kB / 1.234 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.711e-05/0.8723, allocations: 18.2 kB / 1.234 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.8724, allocations: 36.83 kB / 1.234 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004016/0.8728, allocations: 214.5 kB / 1.234 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.8728, allocations: 1.094 kB / 1.234 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.233e-06/0.8728, allocations: 0 / 1.234 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.8728, allocations: 3.938 kB / 1.234 GB, free: 4.93 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.0006601/0.8735, allocations: 435.1 kB / 1.234 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.8735, allocations: 9.469 kB / 1.234 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.143e-05/0.8736, allocations: 42.09 kB / 1.234 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.8748, allocations: 154 kB / 1.235 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.8749, allocations: 184.5 kB / 1.235 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.599e-05/0.875, allocations: 35.61 kB / 1.235 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.875, allocations: 2.969 kB / 1.235 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005526/0.8756, allocations: 165.3 kB / 1.235 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.8756, allocations: 7.938 kB / 1.235 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.8756, allocations: 1.062 kB / 1.235 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.8757, allocations: 2.562 kB / 1.235 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008216/0.8765, allocations: 193.6 kB / 1.235 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008359/0.8773, allocations: 426.6 kB / 1.236 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005334/0.8779, allocations: 137.6 kB / 1.236 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004057/0.8783, allocations: 98.86 kB / 1.236 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.8783, allocations: 1.062 kB / 1.236 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.8783, allocations: 31.62 kB / 1.236 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.8784, allocations: 0 / 1.236 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.001411/0.8798, allocations: 315.9 kB / 1.236 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.8798, allocations: 52.88 kB / 1.236 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.88, allocations: 142.3 kB / 1.236 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.88, allocations: 25.7 kB / 1.236 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/0.88, allocations: 100.4 kB / 1.236 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.8801, allocations: 26.83 kB / 1.236 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.989e-05/0.8801, allocations: 22.11 kB / 1.236 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.766e-05/0.8803, allocations: 313.7 kB / 1.237 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.8807, allocations: 91.03 kB / 1.237 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.8811, allocations: 89.78 kB / 1.237 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007648/0.8818, allocations: 171.9 kB / 1.237 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.8818, allocations: 3.938 kB / 1.237 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008501/0.8827, allocations: 217.7 kB / 1.237 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.8827, allocations: 10.2 kB / 1.237 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.8827, allocations: 448 / 1.237 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.8828, allocations: 4 kB / 1.237 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.8831, allocations: 36.55 kB / 1.237 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.8831, allocations: 0 / 1.237 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.8833, allocations: 38.77 kB / 1.237 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.8834, allocations: 9.156 kB / 1.237 GB, free: 2.191 MB / 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 9.751e-05/0.8835, allocations: 117.2 kB / 1.237 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.151e-05/0.8835, allocations: 12.42 kB / 1.238 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/0.8836, allocations: 15.03 kB / 1.238 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.8836, allocations: 5.094 kB / 1.238 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.8836, allocations: 4 kB / 1.238 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.8836, allocations: 1.219 kB / 1.238 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.8838, allocations: 215.4 kB / 1.238 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.217e-06/0.8838, allocations: 0 / 1.238 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.8841, allocations: 39.7 kB / 1.238 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.8841, allocations: 0 / 1.238 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.8841, allocations: 5 kB / 1.238 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.8841, allocations: 1.156 kB / 1.238 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8842, allocations: 0 / 1.238 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008739/0.885, allocations: 317.3 kB / 1.238 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.8851, allocations: 87.44 kB / 1.238 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.8851, allocations: 1.375 kB / 1.238 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.8854, allocations: 37.83 kB / 1.238 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.8855, allocations: 6.734 kB / 1.238 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.8855, allocations: 1.375 kB / 1.238 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.41e-05/0.8856, allocations: 115 kB / 1.238 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.503e-06/0.8856, allocations: 0 / 1.238 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002549/0.8858, allocations: 24.42 kB / 1.238 GB, free: 1.336 MB / 0.9669 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.001161/0.887, allocations: 0.8598 MB / 1.239 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008205/0.8878, allocations: 196.5 kB / 1.239 GB, free: 500 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8878, allocations: 1.156 kB / 1.239 GB, free: 500 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003992/0.8882, allocations: 98.44 kB / 1.239 GB, free: 456 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.8886, allocations: 18.55 kB / 1.239 GB, free: 444 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00405/0.8927, allocations: 1.964 MB / 1.241 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.8929, allocations: 0.6953 MB / 1.242 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.8931, allocations: 16.95 kB / 1.242 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.847e-05/0.8931, allocations: 28.98 kB / 1.242 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.8932, allocations: 0 / 1.242 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.9116, allocations: 2.927 MB / 1.245 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.205/8.117, allocations: 11.73 kB / 1.245 GB, free: 12.29 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[506]=3600.000000 File[1206]=2249.280000 Error: Could not read variable onOff.y in file Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio_res.csv. Warning: Get data of variable onOff.y from file Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio_res.csv failed! " Variables in the reference:time,shr.SHR,onOff.y,TEvaIn.y Variables in the result:time,TEvaIn.y,hEvaIn.y,shr.SHR,TEvaIn.duration,TEvaIn.height