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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002124/0.002124, allocations: 221.6 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.319/3.319, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 72.69 kB / 1.177 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4094, allocations: 180.2 MB / 1.353 GB, free: 8.461 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.003267/0.4127, allocations: 1.686 MB / 1.355 GB, free: 6.766 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.187/0.5996, allocations: 150.6 MB / 1.502 GB, free: 15.59 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.764e-05/0.5997, allocations: 0 / 1.502 GB, free: 15.59 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 4.996e-05/0.5998, allocations: 11.92 kB / 1.502 GB, free: 15.58 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.5999, allocations: 19.8 kB / 1.502 GB, free: 15.56 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.6009, allocations: 255.1 kB / 1.502 GB, free: 15.31 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.000187/0.6011, allocations: 95.7 kB / 1.502 GB, free: 15.22 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.6012, allocations: 15.98 kB / 1.502 GB, free: 15.2 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 8.369e-05/0.6013, allocations: 35.92 kB / 1.502 GB, free: 15.17 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.6014, allocations: 55.75 kB / 1.502 GB, free: 15.11 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.6015, allocations: 8 kB / 1.502 GB, free: 15.11 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006278/0.6021, allocations: 263.3 kB / 1.502 GB, free: 14.85 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 3.367e-05/0.6021, allocations: 19.92 kB / 1.502 GB, free: 14.83 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.6022, allocations: 35.8 kB / 1.502 GB, free: 14.79 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0004739/0.6026, allocations: 215.3 kB / 1.503 GB, free: 14.58 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6026, allocations: 0 / 1.503 GB, free: 14.58 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6026, allocations: 0 / 1.503 GB, free: 14.58 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.575e-06/0.6027, allocations: 0 / 1.503 GB, free: 14.58 MB / 1.201 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.0007012/0.6034, allocations: 353.7 kB / 1.503 GB, free: 14.21 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.6034, allocations: 12.03 kB / 1.503 GB, free: 14.2 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.777e-05/0.6035, allocations: 38.73 kB / 1.503 GB, free: 14.15 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.6047, allocations: 152.7 kB / 1.503 GB, free: 14 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.6048, allocations: 126.1 kB / 1.503 GB, free: 13.85 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.6049, allocations: 63.41 kB / 1.503 GB, free: 13.78 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.605, allocations: 4 kB / 1.503 GB, free: 13.77 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005526/0.6055, allocations: 169.4 kB / 1.503 GB, free: 13.6 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.6055, allocations: 4 kB / 1.503 GB, free: 13.6 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.6055, allocations: 0 / 1.503 GB, free: 13.6 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.6055, allocations: 3.984 kB / 1.503 GB, free: 13.59 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007827/0.6063, allocations: 199.8 kB / 1.504 GB, free: 13.4 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009401/0.6073, allocations: 401.3 kB / 1.504 GB, free: 12.96 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005215/0.6078, allocations: 122.5 kB / 1.504 GB, free: 12.83 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003912/0.6082, allocations: 96.89 kB / 1.504 GB, free: 12.73 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.6082, allocations: 0 / 1.504 GB, free: 12.73 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.6083, allocations: 42.5 kB / 1.504 GB, free: 12.68 MB / 1.201 GB Notification: Performance of pre-optimization done (n=6): time 3.266e-06/0.6083, allocations: 4 kB / 1.504 GB, free: 12.68 MB / 1.201 GB Notification: Performance of matching and sorting (n=6): time 0.001389/0.6097, allocations: 305.3 kB / 1.505 GB, free: 12.38 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.6097, allocations: 55.41 kB / 1.505 GB, free: 12.31 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.6099, allocations: 149.5 kB / 1.505 GB, free: 12.15 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.6099, allocations: 29.7 kB / 1.505 GB, free: 12.12 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.61, allocations: 96.14 kB / 1.505 GB, free: 12.02 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.61, allocations: 15.84 kB / 1.505 GB, free: 12 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-05/0.6101, allocations: 17.72 kB / 1.505 GB, free: 11.98 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.6102, allocations: 322.8 kB / 1.505 GB, free: 11.66 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003874/0.6106, allocations: 95.89 kB / 1.505 GB, free: 11.56 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/0.6109, allocations: 83.92 kB / 1.505 GB, free: 11.48 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007009/0.6116, allocations: 177.1 kB / 1.506 GB, free: 11.3 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6117, allocations: 3.938 kB / 1.506 GB, free: 11.3 MB / 1.201 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008084/0.6125, allocations: 217.4 kB / 1.506 GB, free: 11.08 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.6125, allocations: 8 kB / 1.506 GB, free: 11.07 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.6125, allocations: 4 kB / 1.506 GB, free: 11.07 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.6125, allocations: 0 / 1.506 GB, free: 11.07 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.6128, allocations: 35.95 kB / 1.506 GB, free: 11.04 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.6128, allocations: 3.984 kB / 1.506 GB, free: 11.03 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.6131, allocations: 39.91 kB / 1.506 GB, free: 10.99 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.6131, allocations: 0 / 1.506 GB, free: 10.99 MB / 1.201 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.0001175/0.6132, allocations: 122.4 kB / 1.506 GB, free: 10.86 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.6132, allocations: 11.89 kB / 1.506 GB, free: 10.85 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.322e-05/0.6133, allocations: 12.72 kB / 1.506 GB, free: 10.84 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.6133, allocations: 0 / 1.506 GB, free: 10.84 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.6133, allocations: 7.938 kB / 1.506 GB, free: 10.83 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.6133, allocations: 0 / 1.506 GB, free: 10.83 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.6135, allocations: 196.5 kB / 1.506 GB, free: 10.6 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.6135, allocations: 0 / 1.506 GB, free: 10.6 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.6138, allocations: 43.83 kB / 1.506 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.6138, allocations: 0 / 1.506 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.6138, allocations: 4 kB / 1.506 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.6138, allocations: 0 / 1.506 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6138, allocations: 0 / 1.506 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008887/0.6147, allocations: 319.3 kB / 1.507 GB, free: 10.22 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 2.548e-05/0.6148, allocations: 7.891 kB / 1.507 GB, free: 10.21 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.6148, allocations: 4 kB / 1.507 GB, free: 10.21 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.615, allocations: 31.95 kB / 1.507 GB, free: 10.18 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.6151, allocations: 12.11 kB / 1.507 GB, free: 10.17 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.6151, allocations: 7.938 kB / 1.507 GB, free: 10.16 MB / 1.201 GB Notification: Performance of sorting global known variables: time 8.466e-05/0.6152, allocations: 104.8 kB / 1.507 GB, free: 10.06 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.6152, allocations: 4 kB / 1.507 GB, free: 10.05 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002637/0.6155, allocations: 20 kB / 1.507 GB, free: 10.04 MB / 1.201 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.001255/0.6167, allocations: 0.849 MB / 1.508 GB, free: 9.16 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0008339/0.6175, allocations: 191.8 kB / 1.508 GB, free: 8.973 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6176, allocations: 0 / 1.508 GB, free: 8.973 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003991/0.618, allocations: 99.91 kB / 1.508 GB, free: 8.875 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.6184, allocations: 13.7 kB / 1.508 GB, free: 8.863 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004381/0.6227, allocations: 1.985 MB / 1.51 GB, free: 6.793 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.6231, allocations: 0.6977 MB / 1.51 GB, free: 6.07 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001234/0.6232, allocations: 15.98 kB / 1.511 GB, free: 6.055 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.817e-05/0.6233, allocations: 23.44 kB / 1.511 GB, free: 6.035 MB / 1.201 GB Notification: Performance of SimCode: time 6.61e-07/0.6233, allocations: 0 / 1.511 GB, free: 6.035 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03646/0.6598, allocations: 3.054 MB / 1.514 GB, free: 3.129 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.39, allocations: 7.938 kB / 1.514 GB, free: 3.121 MB / 1.201 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.42010325193405]