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.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.001707/0.001707, 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.001565/0.001565, allocations: 218.5 kB / 22.26 MB, free: 5.121 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.78/2.78, allocations: 476.8 MB / 0.7707 GB, free: 4.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_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"}) [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.002012/0.002012, allocations: 68.53 kB / 1.117 GB, free: 39.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3063, allocations: 170 MB / 1.283 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.003395/0.3097, allocations: 1.684 MB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1799/0.4896, allocations: 150.6 MB / 1.432 GB, free: 2.414 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.4897, allocations: 0 / 1.432 GB, free: 2.414 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 6.869e-05/0.4898, allocations: 7.922 kB / 1.432 GB, free: 2.406 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.4899, allocations: 15.81 kB / 1.432 GB, free: 2.391 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.491, allocations: 243.1 kB / 1.432 GB, free: 2.152 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.4912, allocations: 99.64 kB / 1.432 GB, free: 2.055 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.4913, allocations: 19.98 kB / 1.432 GB, free: 2.035 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.4914, allocations: 47.83 kB / 1.433 GB, free: 1.988 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.4915, allocations: 39.84 kB / 1.433 GB, free: 1.949 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.4915, allocations: 8 kB / 1.433 GB, free: 1.941 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006336/0.4922, allocations: 263.3 kB / 1.433 GB, free: 1.684 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 3.592e-05/0.4922, allocations: 19.92 kB / 1.433 GB, free: 1.664 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 5.661e-05/0.4923, allocations: 39.78 kB / 1.433 GB, free: 1.625 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0004756/0.4927, allocations: 207.5 kB / 1.433 GB, free: 1.426 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4927, allocations: 3.938 kB / 1.433 GB, free: 1.422 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4927, allocations: 4 kB / 1.433 GB, free: 1.418 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.481e-05/0.4928, allocations: 4 kB / 1.433 GB, free: 1.414 MB / 1.123 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.000825/0.4936, allocations: 353.7 kB / 1.433 GB, free: 1.039 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.4936, allocations: 8.031 kB / 1.433 GB, free: 1.031 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.35e-05/0.4937, allocations: 38.75 kB / 1.433 GB, free: 0.9844 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/0.495, allocations: 160.6 kB / 1.434 GB, free: 0.8281 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.4952, allocations: 126.2 kB / 1.434 GB, free: 0.6797 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.4953, allocations: 63.39 kB / 1.434 GB, free: 0.6055 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.4954, allocations: 4 kB / 1.434 GB, free: 0.6016 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005917/0.496, allocations: 169.4 kB / 1.434 GB, free: 440 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.496, allocations: 0 / 1.434 GB, free: 440 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.496, allocations: 0 / 1.434 GB, free: 440 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.496, allocations: 4 kB / 1.434 GB, free: 436 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007972/0.4968, allocations: 203.7 kB / 1.434 GB, free: 232 kB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009275/0.4977, allocations: 389.4 kB / 1.435 GB, free: 15.8 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005133/0.4982, allocations: 130.5 kB / 1.435 GB, free: 15.66 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.4986, allocations: 92.91 kB / 1.435 GB, free: 15.57 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.4986, allocations: 0 / 1.435 GB, free: 15.57 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.4987, allocations: 46.48 kB / 1.435 GB, free: 15.52 MB / 1.139 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.4987, allocations: 0 / 1.435 GB, free: 15.52 MB / 1.139 GB Notification: Performance of matching and sorting (n=6): time 0.001372/0.5, allocations: 313.5 kB / 1.435 GB, free: 15.2 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.5001, allocations: 51.41 kB / 1.435 GB, free: 15.14 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.5002, allocations: 143.9 kB / 1.435 GB, free: 14.99 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.5003, allocations: 25.7 kB / 1.435 GB, free: 14.96 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 7.442e-05/0.5003, allocations: 104.1 kB / 1.435 GB, free: 14.86 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.5004, allocations: 11.91 kB / 1.435 GB, free: 14.84 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.5004, allocations: 21.7 kB / 1.435 GB, free: 14.82 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.5006, allocations: 322.8 kB / 1.436 GB, free: 14.49 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.5009, allocations: 91.98 kB / 1.436 GB, free: 14.4 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.5013, allocations: 91.91 kB / 1.436 GB, free: 14.31 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007113/0.502, allocations: 172.7 kB / 1.436 GB, free: 14.14 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.502, allocations: 0 / 1.436 GB, free: 14.14 MB / 1.139 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008064/0.5028, allocations: 221.4 kB / 1.436 GB, free: 13.92 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.5029, allocations: 10.59 kB / 1.436 GB, free: 13.91 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5029, allocations: 0 / 1.436 GB, free: 13.91 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.5029, allocations: 0 / 1.436 GB, free: 13.91 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.5032, allocations: 39.95 kB / 1.436 GB, free: 13.87 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.5032, allocations: 8 kB / 1.436 GB, free: 13.86 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.5034, allocations: 35.84 kB / 1.436 GB, free: 13.83 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.5034, allocations: 4 kB / 1.436 GB, free: 13.82 MB / 1.139 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.0001061/0.5035, allocations: 109.8 kB / 1.437 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.5036, allocations: 19.89 kB / 1.437 GB, free: 13.69 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.5036, allocations: 12.7 kB / 1.437 GB, free: 13.68 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.5036, allocations: 3.984 kB / 1.437 GB, free: 13.67 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.5036, allocations: 0 / 1.437 GB, free: 13.67 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.5036, allocations: 4 kB / 1.437 GB, free: 13.67 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.5039, allocations: 184.7 kB / 1.437 GB, free: 13.45 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.5039, allocations: 0 / 1.437 GB, free: 13.45 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002777/0.5042, allocations: 47.83 kB / 1.437 GB, free: 13.4 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.5042, allocations: 3.984 kB / 1.437 GB, free: 13.39 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.5042, allocations: 4 kB / 1.437 GB, free: 13.39 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.5042, allocations: 0 / 1.437 GB, free: 13.39 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5042, allocations: 192 / 1.437 GB, free: 13.39 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008689/0.5051, allocations: 323.3 kB / 1.437 GB, free: 13.06 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 2.345e-05/0.5051, allocations: 11.89 kB / 1.437 GB, free: 13.05 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.5051, allocations: 3.938 kB / 1.437 GB, free: 13.04 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.5054, allocations: 35.95 kB / 1.437 GB, free: 13.01 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.5054, allocations: 4 kB / 1.437 GB, free: 13 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.5054, allocations: 7.984 kB / 1.437 GB, free: 13 MB / 1.139 GB Notification: Performance of sorting global known variables: time 7.89e-05/0.5055, allocations: 103.3 kB / 1.437 GB, free: 12.89 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5055, allocations: 0 / 1.437 GB, free: 12.89 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002583/0.5058, allocations: 20 kB / 1.437 GB, free: 12.88 MB / 1.139 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.001261/0.507, allocations: 0.8567 MB / 1.438 GB, free: 11.99 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0008378/0.5079, allocations: 191.8 kB / 1.438 GB, free: 11.8 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5079, allocations: 0 / 1.438 GB, free: 11.8 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003966/0.5083, allocations: 95.91 kB / 1.438 GB, free: 11.71 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.5086, allocations: 12 kB / 1.438 GB, free: 11.7 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/0.513, allocations: 1.986 MB / 1.44 GB, free: 9.633 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.5133, allocations: 0.6885 MB / 1.441 GB, free: 8.918 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.5134, allocations: 16 kB / 1.441 GB, free: 8.902 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.648e-05/0.5135, allocations: 27.42 kB / 1.441 GB, free: 8.875 MB / 1.139 GB Notification: Performance of SimCode: time 4.81e-07/0.5135, allocations: 0 / 1.441 GB, free: 8.875 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.5444, allocations: 3.054 MB / 1.444 GB, free: 5.977 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.2, allocations: 4.688 kB / 1.444 GB, free: 5.973 MB / 1.139 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.677545498823747]