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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.00163/0.00163, allocations: 112.5 kB / 15.73 MB, free: 76 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.001966/0.001966, allocations: 188.9 kB / 16.67 MB, free: 6.543 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.762/2.762, allocations: 469.4 MB / 0.7421 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 67.91 kB / 1.064 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2572, allocations: 159.1 MB / 1.22 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.002785/0.26, allocations: 1.655 MB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6861/0.9462, allocations: 147.3 MB / 1.365 GB, free: 380 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.854e-05/0.9463, allocations: 1.469 kB / 1.365 GB, free: 380 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.715e-05/0.9464, allocations: 10.08 kB / 1.365 GB, free: 372 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.9466, allocations: 14.45 kB / 1.365 GB, free: 360 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009607/0.9475, allocations: 249.9 kB / 1.365 GB, free: 240 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000178/0.9477, allocations: 91.92 kB / 1.366 GB, free: 196 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.9478, allocations: 27.45 kB / 1.366 GB, free: 184 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.207e-05/0.9479, allocations: 38.64 kB / 1.366 GB, free: 164 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.588e-05/0.948, allocations: 43.47 kB / 1.366 GB, free: 144 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.948, allocations: 7.5 kB / 1.366 GB, free: 144 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005651/0.9486, allocations: 248.9 kB / 1.366 GB, free: 44 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.346e-05/0.9487, allocations: 23.27 kB / 1.366 GB, free: 28 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.904e-05/0.9487, allocations: 37.39 kB / 1.366 GB, free: 4 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004661/0.9492, allocations: 210 kB / 1.366 GB, free: 15.93 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.9492, allocations: 0 / 1.366 GB, free: 15.93 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.013e-06/0.9492, allocations: 1.344 kB / 1.366 GB, free: 15.93 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.9492, allocations: 0 / 1.366 GB, free: 15.93 MB / 1.076 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.0007186/0.95, allocations: 435.7 kB / 1.367 GB, free: 15.52 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.95, allocations: 9.219 kB / 1.367 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.696e-05/0.9501, allocations: 43.09 kB / 1.367 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.9514, allocations: 154.4 kB / 1.367 GB, free: 15.46 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.9516, allocations: 174 kB / 1.367 GB, free: 15.26 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.307e-05/0.9517, allocations: 40.64 kB / 1.367 GB, free: 15.22 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.9517, allocations: 11.88 kB / 1.367 GB, free: 15.21 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005734/0.9523, allocations: 159.8 kB / 1.367 GB, free: 15.15 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.9523, allocations: 1.219 kB / 1.367 GB, free: 15.15 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.9523, allocations: 4 kB / 1.367 GB, free: 15.15 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.9523, allocations: 2.438 kB / 1.367 GB, free: 15.15 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008463/0.9532, allocations: 197.2 kB / 1.367 GB, free: 15.11 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008346/0.954, allocations: 429.4 kB / 1.368 GB, free: 14.76 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005307/0.9546, allocations: 125.5 kB / 1.368 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004143/0.955, allocations: 98.3 kB / 1.368 GB, free: 14.69 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.955, allocations: 1.438 kB / 1.368 GB, free: 14.69 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.9551, allocations: 39.95 kB / 1.368 GB, free: 14.64 MB / 1.076 GB Notification: Performance of pre-optimization done (n=6): time 3.046e-06/0.9551, allocations: 4 kB / 1.368 GB, free: 14.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.001427/0.9565, allocations: 313.3 kB / 1.368 GB, free: 14.54 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.9566, allocations: 56.66 kB / 1.368 GB, free: 14.48 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.9567, allocations: 142.8 kB / 1.368 GB, free: 14.36 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.9568, allocations: 26.95 kB / 1.369 GB, free: 14.33 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.9568, allocations: 92.83 kB / 1.369 GB, free: 14.24 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.9568, allocations: 24.72 kB / 1.369 GB, free: 14.22 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/0.9569, allocations: 22.3 kB / 1.369 GB, free: 14.2 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.957, allocations: 320 kB / 1.369 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004054/0.9575, allocations: 87.2 kB / 1.369 GB, free: 13.87 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003979/0.9579, allocations: 92.64 kB / 1.369 GB, free: 13.85 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007536/0.9586, allocations: 177 kB / 1.369 GB, free: 13.8 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.9586, allocations: 0 / 1.369 GB, free: 13.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008507/0.9595, allocations: 217 kB / 1.37 GB, free: 13.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.9595, allocations: 14.28 kB / 1.37 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.9595, allocations: 0 / 1.37 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.9596, allocations: 3.938 kB / 1.37 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.9599, allocations: 34.91 kB / 1.37 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.9599, allocations: 5.891 kB / 1.37 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/0.9601, allocations: 35.05 kB / 1.37 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.9602, allocations: 4.547 kB / 1.37 GB, free: 13.71 MB / 1.076 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.0001016/0.9603, allocations: 117.8 kB / 1.37 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.9603, allocations: 16.59 kB / 1.37 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.9604, allocations: 14 kB / 1.37 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.9604, allocations: 5.094 kB / 1.37 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.9604, allocations: 0 / 1.37 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.9604, allocations: 0 / 1.37 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.9606, allocations: 220.2 kB / 1.37 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.9606, allocations: 1.125 kB / 1.37 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002934/0.9609, allocations: 41.52 kB / 1.37 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.961, allocations: 9.031 kB / 1.37 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.961, allocations: 0 / 1.37 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.961, allocations: 1.188 kB / 1.37 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.961, allocations: 3.938 kB / 1.37 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008914/0.9619, allocations: 313.2 kB / 1.37 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.9619, allocations: 88.8 kB / 1.37 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.962, allocations: 6.547 kB / 1.37 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.9623, allocations: 32.05 kB / 1.37 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.9623, allocations: 9.859 kB / 1.37 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.9623, allocations: 3.5 kB / 1.37 GB, free: 13.05 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.995e-05/0.9624, allocations: 111.5 kB / 1.371 GB, free: 12.97 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9624, allocations: 0 / 1.371 GB, free: 12.97 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002621/0.9627, allocations: 20.47 kB / 1.371 GB, free: 12.96 MB / 1.076 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.001193/0.9639, allocations: 0.8578 MB / 1.371 GB, free: 12.25 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008622/0.9648, allocations: 191.1 kB / 1.372 GB, free: 12.21 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9648, allocations: 0 / 1.372 GB, free: 12.21 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004261/0.9652, allocations: 103.3 kB / 1.372 GB, free: 12.19 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.9656, allocations: 13.78 kB / 1.372 GB, free: 12.19 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004191/0.9698, allocations: 1.976 MB / 1.374 GB, free: 10.81 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.97, allocations: 0.6962 MB / 1.374 GB, free: 10.11 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001218/0.9701, allocations: 13.72 kB / 1.374 GB, free: 10.1 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.202e-05/0.9702, allocations: 27.83 kB / 1.374 GB, free: 10.08 MB / 1.076 GB Notification: Performance of SimCode: time 2.21e-07/0.9703, allocations: 0 / 1.374 GB, free: 10.08 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01831/0.9886, allocations: 2.941 MB / 1.377 GB, free: 9.062 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.394/8.382, allocations: 7.75 kB / 1.377 GB, free: 9.059 MB / 1.076 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