Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_11_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.004453/0.004453, allocations: 101.7 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.001295/0.001295, allocations: 193 kB / 16.68 MB, free: 5.977 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.402/1.402, 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 11.1.0-maint.11.x/package.mo): time 2.759/2.759, allocations: 469.8 MB / 0.7425 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 75.83 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7144/0.7164, allocations: 159.1 MB / 1.22 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.002729/0.7192, allocations: 1.64 MB / 1.222 GB, free: 388 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1615/0.8807, allocations: 147.3 MB / 1.366 GB, free: 12.52 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.452e-05/0.8808, allocations: 4 kB / 1.366 GB, free: 12.52 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 4.85e-05/0.8809, allocations: 7.922 kB / 1.366 GB, free: 12.51 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 7.949e-05/0.881, allocations: 19.8 kB / 1.366 GB, free: 12.49 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007956/0.8818, allocations: 231.2 kB / 1.366 GB, free: 12.26 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.8819, allocations: 103.6 kB / 1.366 GB, free: 12.16 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 9.63e-05/0.882, allocations: 23.98 kB / 1.366 GB, free: 12.14 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 6.524e-05/0.8821, allocations: 35.86 kB / 1.366 GB, free: 12.1 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 9.139e-05/0.8822, allocations: 43.83 kB / 1.366 GB, free: 12.06 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.8822, allocations: 8 kB / 1.366 GB, free: 12.05 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005096/0.8827, allocations: 243.4 kB / 1.366 GB, free: 11.81 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 2.96e-05/0.8828, allocations: 19.92 kB / 1.366 GB, free: 11.79 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 4.765e-05/0.8828, allocations: 39.78 kB / 1.366 GB, free: 11.75 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0003749/0.8832, allocations: 215 kB / 1.367 GB, free: 11.55 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.8832, allocations: 4 kB / 1.367 GB, free: 11.55 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.482e-06/0.8832, allocations: 0 / 1.367 GB, free: 11.55 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.8832, allocations: 0 / 1.367 GB, free: 11.55 MB / 1.092 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.0006539/0.8839, allocations: 434.8 kB / 1.367 GB, free: 11.07 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.884, allocations: 11.97 kB / 1.367 GB, free: 11.06 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.703e-05/0.884, allocations: 38.75 kB / 1.367 GB, free: 11.02 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.8853, allocations: 156.7 kB / 1.367 GB, free: 10.86 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.8854, allocations: 184 kB / 1.367 GB, free: 10.64 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.748e-05/0.8855, allocations: 37.7 kB / 1.367 GB, free: 10.6 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.8855, allocations: 8 kB / 1.367 GB, free: 10.59 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005797/0.8861, allocations: 161.5 kB / 1.368 GB, free: 10.43 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.8861, allocations: 0 / 1.368 GB, free: 10.43 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.8862, allocations: 0 / 1.368 GB, free: 10.43 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.8862, allocations: 0 / 1.368 GB, free: 10.43 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008829/0.8871, allocations: 203.7 kB / 1.368 GB, free: 10.23 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008608/0.8879, allocations: 418.4 kB / 1.368 GB, free: 9.77 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005541/0.8885, allocations: 134.4 kB / 1.368 GB, free: 9.629 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004292/0.8889, allocations: 96.89 kB / 1.368 GB, free: 9.531 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.889, allocations: 8 kB / 1.368 GB, free: 9.523 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.889, allocations: 34.5 kB / 1.368 GB, free: 9.48 MB / 1.092 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.889, allocations: 0 / 1.368 GB, free: 9.48 MB / 1.092 GB Notification: Performance of matching and sorting (n=6): time 0.001479/0.8905, allocations: 317.3 kB / 1.369 GB, free: 9.164 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.8906, allocations: 55.34 kB / 1.369 GB, free: 9.098 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.8907, allocations: 139.9 kB / 1.369 GB, free: 8.953 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.8907, allocations: 25.7 kB / 1.369 GB, free: 8.922 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.8908, allocations: 104.1 kB / 1.369 GB, free: 8.816 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.8908, allocations: 19.94 kB / 1.369 GB, free: 8.797 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.078e-05/0.8909, allocations: 33.64 kB / 1.369 GB, free: 8.758 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.891, allocations: 310.8 kB / 1.369 GB, free: 8.445 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004399/0.8915, allocations: 91.91 kB / 1.369 GB, free: 8.355 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004183/0.8919, allocations: 87.91 kB / 1.37 GB, free: 8.27 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008213/0.8927, allocations: 172.7 kB / 1.37 GB, free: 8.098 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.8928, allocations: 0 / 1.37 GB, free: 8.098 MB / 1.092 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0009311/0.8937, allocations: 225.4 kB / 1.37 GB, free: 7.871 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.8937, allocations: 7.984 kB / 1.37 GB, free: 7.863 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.8937, allocations: 3.938 kB / 1.37 GB, free: 7.859 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.8937, allocations: 0 / 1.37 GB, free: 7.859 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/0.8941, allocations: 39.95 kB / 1.37 GB, free: 7.82 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.8941, allocations: 0 / 1.37 GB, free: 7.82 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.8943, allocations: 28.41 kB / 1.37 GB, free: 7.793 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.8944, allocations: 3.984 kB / 1.37 GB, free: 7.789 MB / 1.092 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.0001008/0.8945, allocations: 118.4 kB / 1.37 GB, free: 7.664 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.8945, allocations: 15.84 kB / 1.37 GB, free: 7.648 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.8946, allocations: 16.72 kB / 1.37 GB, free: 7.629 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.8946, allocations: 0 / 1.37 GB, free: 7.629 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.8946, allocations: 4 kB / 1.37 GB, free: 7.625 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.8946, allocations: 3.938 kB / 1.37 GB, free: 7.621 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.8948, allocations: 225.4 kB / 1.37 GB, free: 7.352 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8949, allocations: 0 / 1.37 GB, free: 7.352 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000299/0.8952, allocations: 43.89 kB / 1.37 GB, free: 7.309 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.8952, allocations: 0 / 1.37 GB, free: 7.309 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.8952, allocations: 0 / 1.37 GB, free: 7.309 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.8952, allocations: 0 / 1.37 GB, free: 7.309 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.8952, allocations: 3.938 kB / 1.37 GB, free: 7.305 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000952/0.8962, allocations: 315.3 kB / 1.371 GB, free: 6.98 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 5.623e-05/0.8962, allocations: 85 kB / 1.371 GB, free: 6.879 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.8963, allocations: 8 kB / 1.371 GB, free: 6.871 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.8965, allocations: 35.94 kB / 1.371 GB, free: 6.836 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.8966, allocations: 7.984 kB / 1.371 GB, free: 6.828 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.8966, allocations: 0 / 1.371 GB, free: 6.828 MB / 1.092 GB Notification: Performance of sorting global known variables: time 8.427e-05/0.8967, allocations: 113.7 kB / 1.371 GB, free: 6.719 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8967, allocations: 7.938 kB / 1.371 GB, free: 6.711 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002599/0.897, allocations: 19.98 kB / 1.371 GB, free: 6.691 MB / 1.092 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.001301/0.8983, allocations: 0.8567 MB / 1.372 GB, free: 5.809 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0009144/0.8992, allocations: 187.8 kB / 1.372 GB, free: 5.625 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.8992, allocations: 4 kB / 1.372 GB, free: 5.621 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004508/0.8997, allocations: 99.84 kB / 1.372 GB, free: 5.523 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.9, allocations: 20.36 kB / 1.372 GB, free: 5.504 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004332/0.9044, allocations: 1.963 MB / 1.374 GB, free: 3.469 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.9047, allocations: 0.6989 MB / 1.375 GB, free: 2.746 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001196/0.9048, allocations: 15.98 kB / 1.375 GB, free: 2.73 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.216e-05/0.9049, allocations: 32.98 kB / 1.375 GB, free: 2.699 MB / 1.092 GB Notification: Performance of SimCode: time 3.01e-07/0.9049, allocations: 0 / 1.375 GB, free: 2.699 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.9286, allocations: 2.922 MB / 1.378 GB, free: 15.93 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.639/8.567, allocations: 11.23 kB / 1.378 GB, free: 15.92 MB / 1.107 GB (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.csv. Warning: Get data of variable onOff.y from file Buildings_11_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