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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.004854/0.004854, allocations: 100.8 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.001329/0.001329, allocations: 197.6 kB / 16.68 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.791/2.791, allocations: 482.4 MB / 0.7548 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 64.23 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2818, allocations: 162.2 MB / 1.241 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.002855/0.2846, allocations: 1.663 MB / 1.243 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1652/0.4498, allocations: 147.3 MB / 1.387 GB, free: 3.695 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.696e-05/0.4499, allocations: 0 / 1.387 GB, free: 3.695 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 4.047e-05/0.45, allocations: 7.875 kB / 1.387 GB, free: 3.688 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 7.76e-05/0.4501, allocations: 15.88 kB / 1.387 GB, free: 3.672 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007671/0.4509, allocations: 239.1 kB / 1.387 GB, free: 3.438 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.451, allocations: 95.7 kB / 1.387 GB, free: 3.344 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 9.512e-05/0.4511, allocations: 28.2 kB / 1.387 GB, free: 3.316 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 6.627e-05/0.4512, allocations: 43.83 kB / 1.387 GB, free: 3.273 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 8.849e-05/0.4513, allocations: 39.84 kB / 1.387 GB, free: 3.234 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.4513, allocations: 8 kB / 1.387 GB, free: 3.227 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004988/0.4518, allocations: 247.3 kB / 1.388 GB, free: 2.984 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 3.34e-05/0.4519, allocations: 23.86 kB / 1.388 GB, free: 2.961 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 5.508e-05/0.4519, allocations: 35.8 kB / 1.388 GB, free: 2.926 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.4523, allocations: 207.3 kB / 1.388 GB, free: 2.723 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.4523, allocations: 4 kB / 1.388 GB, free: 2.719 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.116e-06/0.4523, allocations: 4 kB / 1.388 GB, free: 2.715 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.4523, allocations: 0 / 1.388 GB, free: 2.715 MB / 1.107 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.0006479/0.453, allocations: 426.8 kB / 1.388 GB, free: 2.25 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.453, allocations: 8.031 kB / 1.388 GB, free: 2.242 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/0.4531, allocations: 42.73 kB / 1.388 GB, free: 2.191 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.4543, allocations: 152.7 kB / 1.388 GB, free: 2.043 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.4545, allocations: 189.2 kB / 1.389 GB, free: 1.82 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.797e-05/0.4545, allocations: 37.7 kB / 1.389 GB, free: 1.777 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.4546, allocations: 4 kB / 1.389 GB, free: 1.773 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005676/0.4551, allocations: 165.5 kB / 1.389 GB, free: 1.605 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.4552, allocations: 0 / 1.389 GB, free: 1.605 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.4552, allocations: 0 / 1.389 GB, free: 1.605 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4552, allocations: 0 / 1.389 GB, free: 1.605 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008719/0.4561, allocations: 195.8 kB / 1.389 GB, free: 1.414 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008742/0.4569, allocations: 430.3 kB / 1.389 GB, free: 0.9453 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005413/0.4575, allocations: 130.5 kB / 1.39 GB, free: 0.8086 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004207/0.4579, allocations: 96.89 kB / 1.39 GB, free: 0.7109 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.458, allocations: 8 kB / 1.39 GB, free: 0.7031 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.458, allocations: 38.48 kB / 1.39 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.458, allocations: 0 / 1.39 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of matching and sorting (n=6): time 0.001471/0.4595, allocations: 317.3 kB / 1.39 GB, free: 348 kB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.4595, allocations: 51.41 kB / 1.39 GB, free: 284 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.4597, allocations: 143.3 kB / 1.39 GB, free: 132 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.4597, allocations: 25.7 kB / 1.39 GB, free: 100 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 8.191e-05/0.4598, allocations: 104.2 kB / 1.39 GB, free: 15.99 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.4598, allocations: 15.86 kB / 1.39 GB, free: 15.97 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.401e-05/0.4599, allocations: 17.66 kB / 1.39 GB, free: 15.95 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.46, allocations: 322.8 kB / 1.391 GB, free: 15.63 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004342/0.4605, allocations: 91.91 kB / 1.391 GB, free: 15.54 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000414/0.4609, allocations: 87.91 kB / 1.391 GB, free: 15.45 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007975/0.4617, allocations: 172.7 kB / 1.391 GB, free: 15.28 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4617, allocations: 0 / 1.391 GB, free: 15.28 MB / 1.123 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000902/0.4626, allocations: 225.7 kB / 1.391 GB, free: 15.05 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.4627, allocations: 8 kB / 1.391 GB, free: 15.05 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.4627, allocations: 0 / 1.391 GB, free: 15.05 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.4627, allocations: 0 / 1.391 GB, free: 15.05 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.463, allocations: 40.02 kB / 1.391 GB, free: 15.01 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.463, allocations: 11.88 kB / 1.391 GB, free: 15 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.4633, allocations: 31.91 kB / 1.391 GB, free: 14.96 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.4633, allocations: 3.984 kB / 1.391 GB, free: 14.96 MB / 1.123 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.0001002/0.4634, allocations: 113.8 kB / 1.391 GB, free: 14.84 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.4635, allocations: 15.89 kB / 1.391 GB, free: 14.82 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.4635, allocations: 12.72 kB / 1.391 GB, free: 14.81 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4635, allocations: 0 / 1.391 GB, free: 14.81 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4635, allocations: 0 / 1.391 GB, free: 14.81 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.4635, allocations: 0 / 1.391 GB, free: 14.81 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.4638, allocations: 229.5 kB / 1.392 GB, free: 14.54 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4638, allocations: 3.938 kB / 1.392 GB, free: 14.54 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.4641, allocations: 43.89 kB / 1.392 GB, free: 14.49 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4641, allocations: 0 / 1.392 GB, free: 14.49 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.4641, allocations: 0 / 1.392 GB, free: 14.49 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4641, allocations: 0 / 1.392 GB, free: 14.49 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4641, allocations: 0 / 1.392 GB, free: 14.49 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009462/0.4651, allocations: 319.3 kB / 1.392 GB, free: 14.16 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 5.616e-05/0.4652, allocations: 85 kB / 1.392 GB, free: 14.06 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.4652, allocations: 7.984 kB / 1.392 GB, free: 14.05 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.4655, allocations: 31.97 kB / 1.392 GB, free: 14.02 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.4655, allocations: 7.984 kB / 1.392 GB, free: 14.02 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.4655, allocations: 0 / 1.392 GB, free: 14.02 MB / 1.123 GB Notification: Performance of sorting global known variables: time 8.581e-05/0.4656, allocations: 113.5 kB / 1.392 GB, free: 13.91 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4656, allocations: 3.938 kB / 1.392 GB, free: 13.9 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002552/0.4659, allocations: 24 kB / 1.392 GB, free: 13.88 MB / 1.123 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.001278/0.4672, allocations: 0.849 MB / 1.393 GB, free: 13 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009091/0.4681, allocations: 195.9 kB / 1.393 GB, free: 12.81 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4681, allocations: 0 / 1.393 GB, free: 12.81 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000445/0.4686, allocations: 99.91 kB / 1.393 GB, free: 12.71 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.4689, allocations: 19.98 kB / 1.393 GB, free: 12.7 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/0.4732, allocations: 1.973 MB / 1.395 GB, free: 10.64 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.4736, allocations: 0.6961 MB / 1.396 GB, free: 9.922 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.4737, allocations: 19.84 kB / 1.396 GB, free: 9.902 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.442e-05/0.4738, allocations: 31.36 kB / 1.396 GB, free: 9.871 MB / 1.123 GB Notification: Performance of SimCode: time 3.61e-07/0.4738, allocations: 0 / 1.396 GB, free: 9.871 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.4973, allocations: 2.912 MB / 1.399 GB, free: 7.109 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.771/8.268, allocations: 12.89 kB / 1.399 GB, free: 7.105 MB / 1.123 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 400 --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