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.004806/0.004806, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001156/0.001156, allocations: 198.4 kB / 16.67 MB, free: 5.934 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 64.09 kB / 1.018 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2669, allocations: 151.6 MB / 1.166 GB, free: 7.441 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.002639/0.2696, allocations: 1.642 MB / 1.168 GB, free: 5.781 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7134/0.983, allocations: 147.3 MB / 1.312 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.954e-05/0.9831, allocations: 1.062 kB / 1.312 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.153e-05/0.9832, allocations: 11.02 kB / 1.312 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.407e-05/0.9833, allocations: 21.64 kB / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008274/0.9842, allocations: 246.7 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.9843, allocations: 92.55 kB / 1.312 GB, free: 12.38 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.9844, allocations: 31.06 kB / 1.312 GB, free: 12.37 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.555e-05/0.9845, allocations: 38.22 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.222e-05/0.9846, allocations: 40.55 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.9846, allocations: 9.531 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005183/0.9852, allocations: 249 kB / 1.312 GB, free: 12.33 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.805e-05/0.9852, allocations: 18.8 kB / 1.312 GB, free: 12.33 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.639e-05/0.9852, allocations: 42.12 kB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.9856, allocations: 209.5 kB / 1.313 GB, free: 12.29 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9856, allocations: 1.062 kB / 1.313 GB, free: 12.29 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9856, allocations: 4 kB / 1.313 GB, free: 12.29 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.9857, allocations: 0 / 1.313 GB, free: 12.29 MB / 1.014 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.0006285/0.9863, allocations: 433.5 kB / 1.313 GB, free: 11.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.9863, allocations: 10.38 kB / 1.313 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.989e-05/0.9864, allocations: 38.69 kB / 1.313 GB, free: 11.86 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.9876, allocations: 152.5 kB / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.9878, allocations: 187.2 kB / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.735e-05/0.9878, allocations: 43.84 kB / 1.313 GB, free: 11.6 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.9879, allocations: 4.062 kB / 1.313 GB, free: 11.6 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005571/0.9884, allocations: 161.2 kB / 1.314 GB, free: 11.56 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.9884, allocations: 0 / 1.314 GB, free: 11.56 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.9885, allocations: 0 / 1.314 GB, free: 11.56 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.9885, allocations: 2.281 kB / 1.314 GB, free: 11.56 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008339/0.9893, allocations: 199.8 kB / 1.314 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008274/0.9902, allocations: 426.2 kB / 1.314 GB, free: 11.26 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005113/0.9907, allocations: 127.8 kB / 1.314 GB, free: 11.23 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004172/0.9911, allocations: 100.9 kB / 1.314 GB, free: 11.22 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.9911, allocations: 1.312 kB / 1.314 GB, free: 11.22 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.9912, allocations: 43.5 kB / 1.314 GB, free: 11.17 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.9912, allocations: 0 / 1.314 GB, free: 11.17 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.001426/0.9926, allocations: 311.5 kB / 1.315 GB, free: 11.12 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.9926, allocations: 52.98 kB / 1.315 GB, free: 11.06 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.9928, allocations: 145.7 kB / 1.315 GB, free: 10.96 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.9928, allocations: 26.45 kB / 1.315 GB, free: 10.93 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/0.9929, allocations: 96.06 kB / 1.315 GB, free: 10.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.9929, allocations: 23.08 kB / 1.315 GB, free: 10.83 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.993, allocations: 24.86 kB / 1.315 GB, free: 10.81 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.745e-05/0.9931, allocations: 323.9 kB / 1.315 GB, free: 10.49 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004144/0.9935, allocations: 89.03 kB / 1.315 GB, free: 10.49 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003976/0.9939, allocations: 91.89 kB / 1.316 GB, free: 10.48 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007697/0.9947, allocations: 179.8 kB / 1.316 GB, free: 10.46 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.9947, allocations: 1.281 kB / 1.316 GB, free: 10.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000862/0.9955, allocations: 214.5 kB / 1.316 GB, free: 10.42 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.9956, allocations: 9.734 kB / 1.316 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.9956, allocations: 1.25 kB / 1.316 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.9956, allocations: 0 / 1.316 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.9959, allocations: 39.03 kB / 1.316 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.9959, allocations: 4.562 kB / 1.316 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.9962, allocations: 29.22 kB / 1.316 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.9962, allocations: 10.7 kB / 1.316 GB, free: 10.4 MB / 1.014 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.049e-05/0.9963, allocations: 114 kB / 1.316 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.9964, allocations: 16.42 kB / 1.316 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.9964, allocations: 15.42 kB / 1.316 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.9964, allocations: 0 / 1.316 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.9964, allocations: 1.062 kB / 1.316 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.9964, allocations: 0.7969 kB / 1.316 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.9967, allocations: 218.1 kB / 1.316 GB, free: 10.08 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9967, allocations: 0 / 1.316 GB, free: 10.08 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/0.997, allocations: 40.89 kB / 1.316 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.997, allocations: 5.609 kB / 1.316 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.997, allocations: 5.219 kB / 1.316 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.997, allocations: 0.7969 kB / 1.316 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.997, allocations: 0 / 1.316 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000892/0.9979, allocations: 316.6 kB / 1.317 GB, free: 9.926 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.998, allocations: 87.86 kB / 1.317 GB, free: 9.824 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.998, allocations: 1.625 kB / 1.317 GB, free: 9.824 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.9983, allocations: 32.62 kB / 1.317 GB, free: 9.82 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.9983, allocations: 8.047 kB / 1.317 GB, free: 9.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.9983, allocations: 3.688 kB / 1.317 GB, free: 9.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.625e-05/0.9984, allocations: 107.6 kB / 1.317 GB, free: 9.746 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9984, allocations: 3.938 kB / 1.317 GB, free: 9.742 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002551/0.9987, allocations: 18.34 kB / 1.317 GB, free: 9.742 MB / 1.014 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.001169/0.9999, allocations: 0.8596 MB / 1.318 GB, free: 9.066 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000836/1.001, allocations: 193.1 kB / 1.318 GB, free: 9.059 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/1.001, allocations: 0 / 1.318 GB, free: 9.059 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004151/1.001, allocations: 94.95 kB / 1.318 GB, free: 9.055 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/1.002, allocations: 20.84 kB / 1.318 GB, free: 9.051 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00401/1.006, allocations: 1.975 MB / 1.32 GB, free: 7.828 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/1.006, allocations: 0.6929 MB / 1.321 GB, free: 7.133 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001225/1.006, allocations: 13.56 kB / 1.321 GB, free: 7.125 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.182e-05/1.006, allocations: 30.58 kB / 1.321 GB, free: 7.117 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/1.006, allocations: 0 / 1.321 GB, free: 7.117 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/1.025, allocations: 2.928 MB / 1.324 GB, free: 6.68 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.164/8.189, allocations: 14.88 kB / 1.324 GB, free: 6.668 MB / 1.014 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