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.001853/0.001853, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002361/0.002361, allocations: 216.9 kB / 22.25 MB, free: 5.105 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.805 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.223/3.223, allocations: 0.49 GB / 0.7951 GB, free: 35.59 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.002056/0.002056, allocations: 64.25 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4125, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.003916/0.4164, allocations: 1.642 MB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1688/0.5852, allocations: 129.3 MB / 1.454 GB, free: 14.03 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.046e-05/0.5853, allocations: 4 kB / 1.454 GB, free: 14.02 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 5.03e-05/0.5853, allocations: 11.86 kB / 1.454 GB, free: 14.01 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 8.733e-05/0.5854, allocations: 15.8 kB / 1.454 GB, free: 14 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009437/0.5864, allocations: 251.2 kB / 1.454 GB, free: 13.75 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.5865, allocations: 91.61 kB / 1.454 GB, free: 13.66 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.5866, allocations: 19.98 kB / 1.454 GB, free: 13.64 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 6.72e-05/0.5867, allocations: 43.84 kB / 1.454 GB, free: 13.6 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.5868, allocations: 47.77 kB / 1.454 GB, free: 13.55 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.5868, allocations: 8 kB / 1.454 GB, free: 13.54 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000434/0.5872, allocations: 207.5 kB / 1.454 GB, free: 13.34 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 3.073e-05/0.5873, allocations: 15.92 kB / 1.454 GB, free: 13.32 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.441e-05/0.5873, allocations: 43.78 kB / 1.455 GB, free: 13.28 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.000336/0.5876, allocations: 199.3 kB / 1.455 GB, free: 13.09 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5877, allocations: 0 / 1.455 GB, free: 13.09 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5877, allocations: 4 kB / 1.455 GB, free: 13.08 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.5877, allocations: 0 / 1.455 GB, free: 13.08 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.0006344/0.5883, allocations: 349.8 kB / 1.455 GB, free: 12.71 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.5883, allocations: 8.031 kB / 1.455 GB, free: 12.7 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/0.5884, allocations: 46.69 kB / 1.455 GB, free: 12.65 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.5895, allocations: 160.6 kB / 1.455 GB, free: 12.49 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.5896, allocations: 127.2 kB / 1.455 GB, free: 12.34 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-05/0.5897, allocations: 63.39 kB / 1.455 GB, free: 12.27 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.5898, allocations: 4 kB / 1.455 GB, free: 12.27 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005436/0.5903, allocations: 161.5 kB / 1.456 GB, free: 12.1 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.5903, allocations: 0 / 1.456 GB, free: 12.1 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.5903, allocations: 8 kB / 1.456 GB, free: 12.09 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.5903, allocations: 0 / 1.456 GB, free: 12.09 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008082/0.5911, allocations: 195.8 kB / 1.456 GB, free: 11.9 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008694/0.592, allocations: 373.6 kB / 1.456 GB, free: 11.49 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005457/0.5926, allocations: 126.4 kB / 1.456 GB, free: 11.36 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003916/0.5929, allocations: 96.89 kB / 1.456 GB, free: 11.26 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.593, allocations: 0 / 1.456 GB, free: 11.26 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.593, allocations: 38.5 kB / 1.456 GB, free: 11.21 MB / 1.154 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.593, allocations: 0 / 1.456 GB, free: 11.21 MB / 1.154 GB Notification: Performance of matching and sorting (n=6): time 0.001376/0.5944, allocations: 309.4 kB / 1.457 GB, free: 10.91 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.5944, allocations: 63.28 kB / 1.457 GB, free: 10.83 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.5946, allocations: 134.9 kB / 1.457 GB, free: 10.69 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.5946, allocations: 29.7 kB / 1.457 GB, free: 10.66 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 8.184e-05/0.5947, allocations: 108.1 kB / 1.457 GB, free: 10.55 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.5947, allocations: 7.906 kB / 1.457 GB, free: 10.54 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/0.5948, allocations: 25.7 kB / 1.457 GB, free: 10.51 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.595, allocations: 318.8 kB / 1.457 GB, free: 10.19 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.5954, allocations: 87.92 kB / 1.457 GB, free: 10.1 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.5958, allocations: 87.91 kB / 1.458 GB, free: 10.02 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007417/0.5965, allocations: 172.7 kB / 1.458 GB, free: 9.844 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.5965, allocations: 4 kB / 1.458 GB, free: 9.84 MB / 1.154 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008179/0.5973, allocations: 229.3 kB / 1.458 GB, free: 9.609 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.5973, allocations: 4 kB / 1.458 GB, free: 9.605 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5973, allocations: 448 / 1.458 GB, free: 9.605 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.5974, allocations: 0 / 1.458 GB, free: 9.605 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.5976, allocations: 39.95 kB / 1.458 GB, free: 9.566 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.5977, allocations: 0 / 1.458 GB, free: 9.566 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.5979, allocations: 43.84 kB / 1.458 GB, free: 9.523 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.5979, allocations: 0 / 1.458 GB, free: 9.523 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.0001168/0.598, allocations: 117.8 kB / 1.458 GB, free: 9.398 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.598, allocations: 11.89 kB / 1.458 GB, free: 9.387 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.792e-05/0.5981, allocations: 12.72 kB / 1.458 GB, free: 9.367 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.5981, allocations: 3.984 kB / 1.458 GB, free: 9.363 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5981, allocations: 0 / 1.458 GB, free: 9.363 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.5981, allocations: 3.984 kB / 1.458 GB, free: 9.359 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.5984, allocations: 164.7 kB / 1.458 GB, free: 9.156 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5984, allocations: 3.938 kB / 1.458 GB, free: 9.152 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/0.5986, allocations: 47.89 kB / 1.458 GB, free: 9.105 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5986, allocations: 0 / 1.458 GB, free: 9.105 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.5986, allocations: 3.984 kB / 1.458 GB, free: 9.102 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.5986, allocations: 7.938 kB / 1.458 GB, free: 9.094 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5987, allocations: 0 / 1.458 GB, free: 9.094 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008883/0.5995, allocations: 315.3 kB / 1.459 GB, free: 8.77 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 2.259e-05/0.5996, allocations: 11.89 kB / 1.459 GB, free: 8.758 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.5996, allocations: 3.938 kB / 1.459 GB, free: 8.754 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.5998, allocations: 35.97 kB / 1.459 GB, free: 8.719 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.5999, allocations: 3.984 kB / 1.459 GB, free: 8.715 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.5999, allocations: 7.984 kB / 1.459 GB, free: 8.707 MB / 1.154 GB Notification: Performance of sorting global known variables: time 8.873e-05/0.6, allocations: 104.6 kB / 1.459 GB, free: 8.605 MB / 1.154 GB Notification: Performance of sort global known variables: time 6e-08/0.6, allocations: 0 / 1.459 GB, free: 8.605 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002557/0.6003, allocations: 24 kB / 1.459 GB, free: 8.582 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.001264/0.6015, allocations: 0.8567 MB / 1.46 GB, free: 7.699 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0008187/0.6023, allocations: 183.8 kB / 1.46 GB, free: 7.52 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6023, allocations: 4 kB / 1.46 GB, free: 7.516 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000399/0.6027, allocations: 100.1 kB / 1.46 GB, free: 7.418 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.6031, allocations: 16.12 kB / 1.46 GB, free: 7.402 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/0.6072, allocations: 1.968 MB / 1.462 GB, free: 5.359 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.773e-05/0.6073, allocations: 81.45 kB / 1.462 GB, free: 5.258 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001084/0.6074, allocations: 23.64 kB / 1.462 GB, free: 5.234 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.978e-05/0.6075, allocations: 31.36 kB / 1.462 GB, free: 5.203 MB / 1.154 GB Notification: Performance of SimCode: time 5.71e-07/0.6075, allocations: 4 kB / 1.462 GB, free: 5.199 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03057/0.6381, allocations: 3.615 MB / 1.466 GB, free: 1.734 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.5, allocations: 2.281 kB / 1.466 GB, free: 1.734 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 & python3 -m fmpy simulate --output-file Buildings_12_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_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.csv","/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] "Error: Could not read variable onOff.y in file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.csv. Warning: Get data of variable onOff.y from file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.45647380698938]