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.00111/0.00111, allocations: 108 kB / 15.6 MB, free: 132 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.001713/0.001713, allocations: 199.3 kB / 16.54 MB, free: 6.672 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.311/2.311, allocations: 390.3 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 63.91 kB / 0.8127 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6348/0.6363, allocations: 140.4 MB / 0.9497 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio): time 0.002379/0.6387, allocations: 1.66 MB / 0.9514 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1439/0.7826, allocations: 147.3 MB / 1.095 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.977e-05/0.7828, allocations: 0 / 1.095 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.902e-05/0.7828, allocations: 7.875 kB / 1.095 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.783, allocations: 23.78 kB / 1.095 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008253/0.7838, allocations: 235.2 kB / 1.095 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.784, allocations: 99.61 kB / 1.096 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.7841, allocations: 19.98 kB / 1.096 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.643e-05/0.7842, allocations: 39.86 kB / 1.096 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.977e-05/0.7843, allocations: 47.81 kB / 1.096 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.7843, allocations: 11.94 kB / 1.096 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005087/0.7848, allocations: 251.3 kB / 1.096 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.722e-05/0.7848, allocations: 19.92 kB / 1.096 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.39e-05/0.7849, allocations: 35.8 kB / 1.096 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.7853, allocations: 209.7 kB / 1.096 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.7853, allocations: 0 / 1.096 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7853, allocations: 0 / 1.096 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.7853, allocations: 0 / 1.096 GB, free: 11.35 MB / 0.8575 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.0005973/0.7859, allocations: 419.2 kB / 1.097 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.7859, allocations: 16.03 kB / 1.097 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.42e-05/0.786, allocations: 34.75 kB / 1.097 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.7872, allocations: 164.5 kB / 1.097 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.7873, allocations: 183.4 kB / 1.097 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.589e-05/0.7874, allocations: 33.7 kB / 1.097 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.7874, allocations: 8 kB / 1.097 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000554/0.788, allocations: 164 kB / 1.097 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.788, allocations: 0 / 1.097 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.788, allocations: 11.98 kB / 1.097 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.7881, allocations: 4 kB / 1.097 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.7893, allocations: 191.8 kB / 1.097 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.7905, allocations: 434.3 kB / 1.098 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008634/0.7914, allocations: 134.4 kB / 1.098 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006771/0.7921, allocations: 96.89 kB / 1.098 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.7922, allocations: 4 kB / 1.098 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.7922, allocations: 34.56 kB / 1.098 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 2.003e-06/0.7922, allocations: 0 / 1.098 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.001975/0.7942, allocations: 309.3 kB / 1.098 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.7943, allocations: 59.41 kB / 1.098 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.7944, allocations: 139.5 kB / 1.098 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.7945, allocations: 29.7 kB / 1.099 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.7946, allocations: 96.12 kB / 1.099 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.7946, allocations: 15.72 kB / 1.099 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.299e-05/0.7947, allocations: 21.7 kB / 1.099 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.7948, allocations: 318.8 kB / 1.099 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006129/0.7954, allocations: 91.91 kB / 1.099 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005841/0.796, allocations: 87.91 kB / 1.099 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.7972, allocations: 177 kB / 1.099 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.7972, allocations: 0 / 1.099 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00139/0.7986, allocations: 217.4 kB / 1.099 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.7987, allocations: 11.98 kB / 1.099 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7987, allocations: 0 / 1.099 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.7987, allocations: 0 / 1.099 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/0.7992, allocations: 47.89 kB / 1.1 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.7992, allocations: 0 / 1.1 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003616/0.7996, allocations: 35.91 kB / 1.1 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.7996, allocations: 3.984 kB / 1.1 GB, free: 7.586 MB / 0.8575 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.0001236/0.7997, allocations: 117.8 kB / 1.1 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-05/0.7998, allocations: 7.906 kB / 1.1 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.343e-05/0.7998, allocations: 8.719 kB / 1.1 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.7999, allocations: 7.938 kB / 1.1 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.7999, allocations: 0 / 1.1 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.7999, allocations: 7.938 kB / 1.1 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.8002, allocations: 225.4 kB / 1.1 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.8003, allocations: 4 kB / 1.1 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/0.8007, allocations: 31.95 kB / 1.1 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.8008, allocations: 4 kB / 1.1 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.8008, allocations: 0 / 1.1 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.8008, allocations: 4 kB / 1.1 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8008, allocations: 0 / 1.1 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.8022, allocations: 319.2 kB / 1.1 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-05/0.8023, allocations: 84.92 kB / 1.1 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.8023, allocations: 0 / 1.1 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004885/0.8028, allocations: 39.95 kB / 1.1 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.8029, allocations: 12.05 kB / 1.1 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.8029, allocations: 4 kB / 1.1 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001027/0.8031, allocations: 109.2 kB / 1.101 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8031, allocations: 0 / 1.101 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004722/0.8035, allocations: 23.98 kB / 1.101 GB, free: 6.504 MB / 0.8575 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.001816/0.8054, allocations: 0.8504 MB / 1.101 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001407/0.8068, allocations: 195.8 kB / 1.102 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8068, allocations: 0 / 1.102 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006537/0.8075, allocations: 99.91 kB / 1.102 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005227/0.808, allocations: 16.73 kB / 1.102 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006443/0.8145, allocations: 1.966 MB / 1.104 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.8148, allocations: 0.6937 MB / 1.104 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002458/0.8151, allocations: 19.94 kB / 1.104 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.8152, allocations: 27.42 kB / 1.104 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of SimCode: time 7.12e-07/0.8153, allocations: 0 / 1.104 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.8383, allocations: 2.874 MB / 1.107 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.137/7.975, allocations: 20.12 kB / 1.107 GB, free: 15.77 MB / 0.8731 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