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.007549/0.007549, allocations: 101.2 kB / 15.73 MB, free: 6.059 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.001814/0.001814, allocations: 197.3 kB / 16.67 MB, free: 5.984 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 4.188 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.269/2.269, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.19 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2267, allocations: 140.4 MB / 1.088 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio): time 0.002703/0.2295, allocations: 1.671 MB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1369/0.3663, allocations: 147.3 MB / 1.233 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.162e-05/0.3664, allocations: 0 / 1.233 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.985e-05/0.3665, allocations: 3.938 kB / 1.233 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.481e-05/0.3666, allocations: 23.78 kB / 1.233 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007646/0.3674, allocations: 227.2 kB / 1.233 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.3675, allocations: 95.69 kB / 1.233 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.919e-05/0.3677, allocations: 35.91 kB / 1.233 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.297e-05/0.3677, allocations: 31.91 kB / 1.233 GB, free: 12 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.652e-05/0.3678, allocations: 43.78 kB / 1.233 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.3678, allocations: 8 kB / 1.233 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005017/0.3683, allocations: 247.4 kB / 1.234 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.634e-05/0.3684, allocations: 19.98 kB / 1.234 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.335e-05/0.3684, allocations: 43.73 kB / 1.234 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000345/0.3688, allocations: 211.1 kB / 1.234 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3688, allocations: 0 / 1.234 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3688, allocations: 0 / 1.234 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.3688, allocations: 0 / 1.234 GB, free: 11.44 MB / 0.9981 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.0005914/0.3694, allocations: 423 kB / 1.234 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3695, allocations: 12.03 kB / 1.234 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.131e-05/0.3695, allocations: 46.73 kB / 1.234 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.3707, allocations: 148.7 kB / 1.235 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.3708, allocations: 183.2 kB / 1.235 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.961e-05/0.3709, allocations: 33.7 kB / 1.235 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.3709, allocations: 8 kB / 1.235 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000536/0.3715, allocations: 157.5 kB / 1.235 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3715, allocations: 0 / 1.235 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.3715, allocations: 4 kB / 1.235 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3715, allocations: 0 / 1.235 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008205/0.3724, allocations: 199.8 kB / 1.235 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008006/0.3732, allocations: 426.2 kB / 1.235 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005144/0.3737, allocations: 146.3 kB / 1.236 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003928/0.3741, allocations: 96.91 kB / 1.236 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.3741, allocations: 0 / 1.236 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.3742, allocations: 30.56 kB / 1.236 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.3742, allocations: 0 / 1.236 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.001363/0.3755, allocations: 313.3 kB / 1.236 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.3756, allocations: 55.34 kB / 1.236 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.3757, allocations: 139.4 kB / 1.236 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.3757, allocations: 29.7 kB / 1.236 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/0.3758, allocations: 104 kB / 1.236 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.3758, allocations: 23.88 kB / 1.236 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.3759, allocations: 21.7 kB / 1.236 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.113e-05/0.376, allocations: 322.8 kB / 1.237 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003975/0.3764, allocations: 83.92 kB / 1.237 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.3768, allocations: 92.28 kB / 1.237 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007433/0.3775, allocations: 172.7 kB / 1.237 GB, free: 8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3776, allocations: 3.938 kB / 1.237 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000827/0.3784, allocations: 217.4 kB / 1.237 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3784, allocations: 6.031 kB / 1.237 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3784, allocations: 3.938 kB / 1.237 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3784, allocations: 4 kB / 1.237 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/0.3788, allocations: 39.95 kB / 1.237 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3788, allocations: 0 / 1.237 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.379, allocations: 31.86 kB / 1.237 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.379, allocations: 12 kB / 1.237 GB, free: 7.684 MB / 0.9981 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.782e-05/0.3792, allocations: 121.7 kB / 1.237 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.3792, allocations: 7.906 kB / 1.237 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.3792, allocations: 8.719 kB / 1.237 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3792, allocations: 4 kB / 1.237 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.3792, allocations: 3.984 kB / 1.237 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.3793, allocations: 0 / 1.237 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.3795, allocations: 209.5 kB / 1.238 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3795, allocations: 0 / 1.238 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.3798, allocations: 43.89 kB / 1.238 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3798, allocations: 0 / 1.238 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.3798, allocations: 8 kB / 1.238 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3798, allocations: 3.984 kB / 1.238 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.3798, allocations: 3.938 kB / 1.238 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008808/0.3807, allocations: 319.3 kB / 1.238 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-05/0.3807, allocations: 89 kB / 1.238 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.3808, allocations: 4 kB / 1.238 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.381, allocations: 27.97 kB / 1.238 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.3811, allocations: 11.92 kB / 1.238 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.3811, allocations: 8 kB / 1.238 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.968e-05/0.3812, allocations: 113.1 kB / 1.238 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3812, allocations: 0 / 1.238 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002453/0.3814, allocations: 16 kB / 1.238 GB, free: 6.609 MB / 0.9981 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.001154/0.3826, allocations: 0.8689 MB / 1.239 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008379/0.3835, allocations: 187.8 kB / 1.239 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3835, allocations: 0 / 1.239 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004054/0.3839, allocations: 99.86 kB / 1.239 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.3842, allocations: 15.98 kB / 1.239 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003932/0.3882, allocations: 1.974 MB / 1.241 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.3884, allocations: 0.6924 MB / 1.242 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001154/0.3885, allocations: 19.98 kB / 1.242 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.689e-05/0.3886, allocations: 31.36 kB / 1.242 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/0.3886, allocations: 0 / 1.242 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.4068, allocations: 2.918 MB / 1.245 GB, free: 15.84 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.275/7.682, allocations: 22.98 kB / 1.245 GB, free: 15.82 MB / 1.014 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