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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_latest_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.001492/0.001492, 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.001697/0.001697, allocations: 197.7 kB / 16.53 MB, free: 6.66 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.698/2.698, allocations: 469.4 MB / 0.742 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 69.81 kB / 0.9083 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2499, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.002883/0.2528, allocations: 1.649 MB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1385/0.3913, allocations: 147.3 MB / 1.209 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.405e-05/0.3914, allocations: 4 kB / 1.209 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.156e-05/0.3915, allocations: 11.86 kB / 1.209 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.626e-05/0.3916, allocations: 15.81 kB / 1.209 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007548/0.3924, allocations: 247.1 kB / 1.209 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.3925, allocations: 79.78 kB / 1.209 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.576e-05/0.3926, allocations: 28.27 kB / 1.21 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.772e-05/0.3927, allocations: 43.83 kB / 1.21 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.535e-05/0.3928, allocations: 47.77 kB / 1.21 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.3928, allocations: 8 kB / 1.21 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004905/0.3933, allocations: 243.4 kB / 1.21 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.3933, allocations: 15.98 kB / 1.21 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.52e-05/0.3934, allocations: 39.73 kB / 1.21 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.3937, allocations: 207.5 kB / 1.21 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3937, allocations: 0 / 1.21 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3937, allocations: 4 kB / 1.21 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.3937, allocations: 0 / 1.21 GB, free: 7.984 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.000596/0.3943, allocations: 427 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3944, allocations: 8.031 kB / 1.211 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.3944, allocations: 42.73 kB / 1.211 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/0.3957, allocations: 156.6 kB / 1.211 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.3958, allocations: 187.9 kB / 1.211 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.583e-05/0.3959, allocations: 37.7 kB / 1.211 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.3959, allocations: 4 kB / 1.211 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005569/0.3965, allocations: 162.8 kB / 1.211 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.3965, allocations: 0 / 1.211 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.3965, allocations: 0 / 1.211 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.3965, allocations: 4 kB / 1.211 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008726/0.3974, allocations: 191.8 kB / 1.211 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008205/0.3982, allocations: 434.2 kB / 1.212 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005372/0.3988, allocations: 130.5 kB / 1.212 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004174/0.3992, allocations: 100.8 kB / 1.212 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.3992, allocations: 4 kB / 1.212 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.3993, allocations: 34.5 kB / 1.212 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.3993, allocations: 0 / 1.212 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.001439/0.4007, allocations: 313.3 kB / 1.212 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.4008, allocations: 51.41 kB / 1.212 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.4009, allocations: 139.5 kB / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.4009, allocations: 25.7 kB / 1.212 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.401, allocations: 100.1 kB / 1.213 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.401, allocations: 23.73 kB / 1.213 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/0.4011, allocations: 25.7 kB / 1.213 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.4012, allocations: 318.8 kB / 1.213 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004283/0.4016, allocations: 95.86 kB / 1.213 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004102/0.402, allocations: 91.84 kB / 1.213 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007923/0.4028, allocations: 172.7 kB / 1.213 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4028, allocations: 0 / 1.213 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000892/0.4037, allocations: 225.4 kB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.4038, allocations: 4 kB / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4038, allocations: 0 / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.4038, allocations: 0 / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.4041, allocations: 44.33 kB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.4041, allocations: 0 / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.4044, allocations: 31.95 kB / 1.214 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.4044, allocations: 4 kB / 1.214 GB, free: 4.234 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 8.634e-05/0.4045, allocations: 114.4 kB / 1.214 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.4045, allocations: 19.83 kB / 1.214 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.4046, allocations: 16.7 kB / 1.214 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.4046, allocations: 0 / 1.214 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4046, allocations: 0 / 1.214 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.4046, allocations: 0 / 1.214 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.4048, allocations: 229.4 kB / 1.214 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.4048, allocations: 0 / 1.214 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003066/0.4051, allocations: 43.89 kB / 1.214 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4052, allocations: 0 / 1.214 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.4052, allocations: 3.984 kB / 1.214 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4052, allocations: 4 kB / 1.214 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4052, allocations: 0 / 1.214 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009056/0.4061, allocations: 311.2 kB / 1.214 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.4062, allocations: 92.94 kB / 1.214 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.4062, allocations: 0 / 1.214 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.4065, allocations: 31.97 kB / 1.214 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.4065, allocations: 7.984 kB / 1.214 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.4065, allocations: 0 / 1.214 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.558e-05/0.4066, allocations: 121.1 kB / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4066, allocations: 0 / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002557/0.4069, allocations: 20 kB / 1.214 GB, free: 3.145 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.00117/0.4081, allocations: 0.8489 MB / 1.215 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009052/0.409, allocations: 199.8 kB / 1.216 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.409, allocations: 0 / 1.216 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004346/0.4094, allocations: 107.8 kB / 1.216 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.4098, allocations: 12.38 kB / 1.216 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/0.4139, allocations: 1.959 MB / 1.218 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.4141, allocations: 0.6923 MB / 1.218 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001392/0.4143, allocations: 20 kB / 1.218 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.98e-05/0.4144, allocations: 27.42 kB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.4144, allocations: 0 / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.4325, allocations: 2.875 MB / 1.221 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.235/7.668, allocations: 10.5 kB / 1.221 GB, free: 12.4 MB / 0.9825 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.csv. Warning: Get data of variable onOff.y from file Buildings_latest_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