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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_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.008499/0.008499, allocations: 101 kB / 15.73 MB, free: 6.055 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.002262/0.002262, allocations: 192.3 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.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.565/2.565, allocations: 437.1 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 63.89 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6898/0.6918, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.003114/0.695, allocations: 1.654 MB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.168/0.863, allocations: 147.3 MB / 1.312 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.385e-05/0.8631, allocations: 0 / 1.312 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.248e-05/0.8632, allocations: 11.86 kB / 1.312 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.8633, allocations: 19.8 kB / 1.312 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009173/0.8642, allocations: 247.1 kB / 1.312 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.8644, allocations: 87.77 kB / 1.312 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.8646, allocations: 23.98 kB / 1.312 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.886e-05/0.8646, allocations: 35.86 kB / 1.312 GB, free: 13.85 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.8648, allocations: 47.81 kB / 1.312 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.8648, allocations: 11.94 kB / 1.312 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000594/0.8654, allocations: 247.4 kB / 1.312 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.101e-05/0.8654, allocations: 19.97 kB / 1.312 GB, free: 13.53 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.526e-05/0.8655, allocations: 39.73 kB / 1.312 GB, free: 13.49 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004364/0.866, allocations: 211 kB / 1.313 GB, free: 13.29 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.866, allocations: 3.938 kB / 1.313 GB, free: 13.29 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.704e-06/0.866, allocations: 0 / 1.313 GB, free: 13.29 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.866, allocations: 0 / 1.313 GB, free: 13.29 MB / 1.045 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.0007432/0.8667, allocations: 434.8 kB / 1.313 GB, free: 12.81 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.8668, allocations: 16.92 kB / 1.313 GB, free: 12.8 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.765e-05/0.8668, allocations: 34.75 kB / 1.313 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.8681, allocations: 160.7 kB / 1.313 GB, free: 12.6 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.8683, allocations: 181.4 kB / 1.313 GB, free: 12.38 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.639e-05/0.8683, allocations: 37.62 kB / 1.313 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.8684, allocations: 8 kB / 1.313 GB, free: 12.33 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005626/0.8689, allocations: 164.5 kB / 1.314 GB, free: 12.17 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.869, allocations: 0 / 1.314 GB, free: 12.17 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.869, allocations: 8 kB / 1.314 GB, free: 12.16 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.869, allocations: 4 kB / 1.314 GB, free: 12.16 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000823/0.8698, allocations: 191.8 kB / 1.314 GB, free: 11.97 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008886/0.8707, allocations: 426.3 kB / 1.314 GB, free: 11.5 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005118/0.8713, allocations: 122.5 kB / 1.314 GB, free: 11.37 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004017/0.8717, allocations: 100.9 kB / 1.314 GB, free: 11.27 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.8717, allocations: 3.984 kB / 1.314 GB, free: 11.27 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.8717, allocations: 46.38 kB / 1.314 GB, free: 11.21 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.8717, allocations: 4 kB / 1.314 GB, free: 11.21 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.001405/0.8731, allocations: 301.4 kB / 1.315 GB, free: 10.91 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.8732, allocations: 51.41 kB / 1.315 GB, free: 10.84 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.8733, allocations: 156.1 kB / 1.315 GB, free: 10.68 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.8734, allocations: 25.7 kB / 1.315 GB, free: 10.65 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.8735, allocations: 100.1 kB / 1.315 GB, free: 10.55 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.8735, allocations: 23.92 kB / 1.315 GB, free: 10.53 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/0.8736, allocations: 17.72 kB / 1.315 GB, free: 10.5 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.8737, allocations: 322.8 kB / 1.315 GB, free: 10.18 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004083/0.8741, allocations: 91.91 kB / 1.315 GB, free: 10.09 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.8745, allocations: 83.92 kB / 1.316 GB, free: 10.01 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007469/0.8753, allocations: 176.6 kB / 1.316 GB, free: 9.832 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.8753, allocations: 0 / 1.316 GB, free: 9.832 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008292/0.8761, allocations: 217.4 kB / 1.316 GB, free: 9.613 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.8761, allocations: 4 kB / 1.316 GB, free: 9.609 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.8761, allocations: 4 kB / 1.316 GB, free: 9.605 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.8762, allocations: 0 / 1.316 GB, free: 9.605 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.8765, allocations: 44.39 kB / 1.316 GB, free: 9.562 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.8765, allocations: 3.984 kB / 1.316 GB, free: 9.559 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.8767, allocations: 27.97 kB / 1.316 GB, free: 9.531 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.8767, allocations: 8 kB / 1.316 GB, free: 9.523 MB / 1.045 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.000107/0.8769, allocations: 121.8 kB / 1.316 GB, free: 9.395 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.8769, allocations: 15.83 kB / 1.316 GB, free: 9.379 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.8769, allocations: 8.719 kB / 1.316 GB, free: 9.371 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.8769, allocations: 4 kB / 1.316 GB, free: 9.367 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.877, allocations: 0 / 1.316 GB, free: 9.367 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.877, allocations: 0 / 1.316 GB, free: 9.367 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.8772, allocations: 225.5 kB / 1.316 GB, free: 9.098 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8772, allocations: 4 kB / 1.316 GB, free: 9.094 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.8775, allocations: 39.89 kB / 1.316 GB, free: 9.055 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.8775, allocations: 0 / 1.316 GB, free: 9.055 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.8775, allocations: 4 kB / 1.316 GB, free: 9.051 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.8776, allocations: 0 / 1.316 GB, free: 9.051 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8776, allocations: 3.938 kB / 1.316 GB, free: 9.047 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008917/0.8785, allocations: 319.3 kB / 1.317 GB, free: 8.719 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.8785, allocations: 89 kB / 1.317 GB, free: 8.613 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.8786, allocations: 0 / 1.317 GB, free: 8.613 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.8788, allocations: 31.95 kB / 1.317 GB, free: 8.582 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.8789, allocations: 11.98 kB / 1.317 GB, free: 8.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.8789, allocations: 4 kB / 1.317 GB, free: 8.566 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.015e-05/0.879, allocations: 103.3 kB / 1.317 GB, free: 8.465 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.51e-07/0.879, allocations: 0 / 1.317 GB, free: 8.465 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002534/0.8792, allocations: 20 kB / 1.317 GB, free: 8.445 MB / 1.045 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.001256/0.8805, allocations: 0.8607 MB / 1.318 GB, free: 7.559 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008722/0.8814, allocations: 191.8 kB / 1.318 GB, free: 7.371 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.8814, allocations: 0 / 1.318 GB, free: 7.371 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00042/0.8818, allocations: 99.91 kB / 1.318 GB, free: 7.273 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.8822, allocations: 16.92 kB / 1.318 GB, free: 7.258 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/0.8863, allocations: 1.97 MB / 1.32 GB, free: 5.211 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.8867, allocations: 0.6924 MB / 1.321 GB, free: 4.492 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001188/0.8868, allocations: 16 kB / 1.321 GB, free: 4.477 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.867e-05/0.8869, allocations: 27.42 kB / 1.321 GB, free: 4.449 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.8869, allocations: 0 / 1.321 GB, free: 4.449 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.9104, allocations: 2.931 MB / 1.324 GB, free: 1.676 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.897/8.808, allocations: 23.72 kB / 1.324 GB, free: 1.656 MB / 1.045 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.DXSystems.Cooling.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_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.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_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.csv. Warning: Get data of variable onOff.y from file Buildings_10_Buildings.Fluid.DXSystems.Cooling.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