Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001698/0.001698, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00148/0.00148, allocations: 217.1 kB / 22.25 MB, free: 4.855 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.215/3.215, allocations: 0.4892 GB / 0.7943 GB, free: 35.69 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_12_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.002148/0.002148, allocations: 71.86 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3552, allocations: 176.1 MB / 1.325 GB, free: 2.316 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.003006/0.3582, allocations: 1.644 MB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1709/0.5291, allocations: 129.3 MB / 1.453 GB, free: 14.84 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.423e-05/0.5292, allocations: 0 / 1.453 GB, free: 14.84 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 6.054e-05/0.5292, allocations: 11.86 kB / 1.453 GB, free: 14.82 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 8.088e-05/0.5293, allocations: 15.81 kB / 1.453 GB, free: 14.81 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009986/0.5303, allocations: 247 kB / 1.453 GB, free: 14.57 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.5305, allocations: 91.67 kB / 1.453 GB, free: 14.48 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.5306, allocations: 23.91 kB / 1.453 GB, free: 14.46 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 7.218e-05/0.5307, allocations: 35.92 kB / 1.453 GB, free: 14.42 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.5308, allocations: 43.77 kB / 1.453 GB, free: 14.38 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.5308, allocations: 8 kB / 1.453 GB, free: 14.37 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005016/0.5313, allocations: 207.4 kB / 1.454 GB, free: 14.17 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 3.11e-05/0.5313, allocations: 15.97 kB / 1.454 GB, free: 14.15 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.938e-05/0.5314, allocations: 39.8 kB / 1.454 GB, free: 14.11 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003797/0.5318, allocations: 199.3 kB / 1.454 GB, free: 13.92 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5318, allocations: 0 / 1.454 GB, free: 13.92 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5318, allocations: 0 / 1.454 GB, free: 13.92 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.5318, allocations: 0 / 1.454 GB, free: 13.92 MB / 1.154 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.0006734/0.5324, allocations: 353.8 kB / 1.454 GB, free: 13.54 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.5325, allocations: 11.97 kB / 1.454 GB, free: 13.53 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.647e-05/0.5325, allocations: 42.73 kB / 1.454 GB, free: 13.48 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.5337, allocations: 152.7 kB / 1.454 GB, free: 13.33 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.5339, allocations: 134.1 kB / 1.455 GB, free: 13.18 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.456e-05/0.534, allocations: 59.41 kB / 1.455 GB, free: 13.11 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.534, allocations: 4 kB / 1.455 GB, free: 13.1 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005674/0.5346, allocations: 161.5 kB / 1.455 GB, free: 12.94 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.5346, allocations: 4 kB / 1.455 GB, free: 12.93 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.5346, allocations: 4 kB / 1.455 GB, free: 12.93 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.5346, allocations: 7.938 kB / 1.455 GB, free: 12.92 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008711/0.5355, allocations: 195.8 kB / 1.455 GB, free: 12.73 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008942/0.5364, allocations: 369.6 kB / 1.455 GB, free: 12.32 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005417/0.5369, allocations: 130.5 kB / 1.455 GB, free: 12.19 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004078/0.5373, allocations: 92.91 kB / 1.456 GB, free: 12.09 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.5373, allocations: 0 / 1.456 GB, free: 12.09 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.5374, allocations: 38.44 kB / 1.456 GB, free: 12.05 MB / 1.154 GB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.5374, allocations: 4 kB / 1.456 GB, free: 12.04 MB / 1.154 GB Notification: Performance of matching and sorting (n=6): time 0.001454/0.5388, allocations: 309.4 kB / 1.456 GB, free: 11.73 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.5389, allocations: 55.41 kB / 1.456 GB, free: 11.67 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.539, allocations: 135.7 kB / 1.456 GB, free: 11.53 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.539, allocations: 25.7 kB / 1.456 GB, free: 11.5 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 7.627e-05/0.5391, allocations: 108.1 kB / 1.456 GB, free: 11.39 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.5392, allocations: 15.89 kB / 1.456 GB, free: 11.37 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.979e-05/0.5392, allocations: 21.7 kB / 1.456 GB, free: 11.34 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.5394, allocations: 322.8 kB / 1.457 GB, free: 11.02 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004193/0.5398, allocations: 87.92 kB / 1.457 GB, free: 10.93 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004076/0.5402, allocations: 91.84 kB / 1.457 GB, free: 10.84 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000773/0.541, allocations: 172.7 kB / 1.457 GB, free: 10.67 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.541, allocations: 0 / 1.457 GB, free: 10.67 MB / 1.154 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008596/0.5418, allocations: 221.4 kB / 1.457 GB, free: 10.45 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.5418, allocations: 10.03 kB / 1.457 GB, free: 10.44 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5418, allocations: 0 / 1.457 GB, free: 10.44 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.5419, allocations: 0 / 1.457 GB, free: 10.44 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.5422, allocations: 43.94 kB / 1.457 GB, free: 10.4 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.5422, allocations: 0 / 1.457 GB, free: 10.4 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.5424, allocations: 39.84 kB / 1.457 GB, free: 10.36 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.5424, allocations: 4.375 kB / 1.457 GB, free: 10.36 MB / 1.154 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.0001232/0.5426, allocations: 120 kB / 1.457 GB, free: 10.23 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.5426, allocations: 11.89 kB / 1.457 GB, free: 10.22 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.5427, allocations: 16.7 kB / 1.457 GB, free: 10.2 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.5427, allocations: 3.938 kB / 1.457 GB, free: 10.19 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.5427, allocations: 4 kB / 1.457 GB, free: 10.19 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.5427, allocations: 3.938 kB / 1.457 GB, free: 10.18 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.5429, allocations: 164.7 kB / 1.457 GB, free: 9.98 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.5429, allocations: 0 / 1.457 GB, free: 9.98 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/0.5432, allocations: 51.88 kB / 1.458 GB, free: 9.93 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5432, allocations: 0 / 1.458 GB, free: 9.93 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.5432, allocations: 0 / 1.458 GB, free: 9.93 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5432, allocations: 0 / 1.458 GB, free: 9.93 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5432, allocations: 0 / 1.458 GB, free: 9.93 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009344/0.5442, allocations: 323.2 kB / 1.458 GB, free: 9.598 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 2.264e-05/0.5442, allocations: 11.89 kB / 1.458 GB, free: 9.586 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.5442, allocations: 0 / 1.458 GB, free: 9.586 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.5445, allocations: 39.95 kB / 1.458 GB, free: 9.547 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.5445, allocations: 0 / 1.458 GB, free: 9.547 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.5445, allocations: 7.984 kB / 1.458 GB, free: 9.539 MB / 1.154 GB Notification: Performance of sorting global known variables: time 8.62e-05/0.5446, allocations: 108.6 kB / 1.458 GB, free: 9.434 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.5446, allocations: 0 / 1.458 GB, free: 9.434 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002542/0.5449, allocations: 16 kB / 1.458 GB, free: 9.418 MB / 1.154 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.001339/0.5462, allocations: 0.8606 MB / 1.459 GB, free: 8.531 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0008883/0.5471, allocations: 183.8 kB / 1.459 GB, free: 8.352 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.5471, allocations: 4 kB / 1.459 GB, free: 8.348 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0004292/0.5475, allocations: 99.91 kB / 1.459 GB, free: 8.25 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.5479, allocations: 13.3 kB / 1.459 GB, free: 8.238 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/0.5522, allocations: 1.975 MB / 1.461 GB, free: 6.188 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.923e-05/0.5523, allocations: 77.72 kB / 1.461 GB, free: 6.09 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001274/0.5524, allocations: 23.64 kB / 1.461 GB, free: 6.066 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.724e-05/0.5525, allocations: 27.42 kB / 1.461 GB, free: 6.039 MB / 1.154 GB Notification: Performance of SimCode: time 3.21e-07/0.5525, allocations: 0 / 1.461 GB, free: 6.039 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03066/0.5832, allocations: 3.586 MB / 1.465 GB, free: 2.605 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.71, allocations: 8 kB / 1.465 GB, free: 2.598 MB / 1.154 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.419624951202422]