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.001772/0.001772, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002376/0.002376, allocations: 210.5 kB / 22.99 MB, free: 4.957 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.651/1.651, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.478/3.478, allocations: 0.49 GB / 0.7959 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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio") [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.002106/0.002106, allocations: 64.91 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4735/0.4756, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.003431/0.479, allocations: 1.638 MB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2037/0.6827, allocations: 129.3 MB / 1.455 GB, free: 13.52 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.6829, allocations: 4 kB / 1.455 GB, free: 13.51 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 7.474e-05/0.683, allocations: 11.86 kB / 1.455 GB, free: 13.5 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 9.668e-05/0.6831, allocations: 7.875 kB / 1.455 GB, free: 13.49 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.6842, allocations: 259.1 kB / 1.455 GB, free: 13.24 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.6844, allocations: 87.77 kB / 1.455 GB, free: 13.15 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.6845, allocations: 23.92 kB / 1.455 GB, free: 13.13 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 7.204e-05/0.6846, allocations: 27.92 kB / 1.455 GB, free: 13.1 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.6847, allocations: 51.77 kB / 1.455 GB, free: 13.05 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.6847, allocations: 8 kB / 1.455 GB, free: 13.04 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005071/0.6852, allocations: 219.4 kB / 1.456 GB, free: 12.83 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 3.255e-05/0.6853, allocations: 19.92 kB / 1.456 GB, free: 12.81 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.551e-05/0.6853, allocations: 27.86 kB / 1.456 GB, free: 12.78 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004154/0.6857, allocations: 203.3 kB / 1.456 GB, free: 12.58 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.6857, allocations: 0 / 1.456 GB, free: 12.58 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.983e-06/0.6857, allocations: 0 / 1.456 GB, free: 12.58 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.6858, allocations: 0 / 1.456 GB, free: 12.58 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.000766/0.6865, allocations: 345.8 kB / 1.456 GB, free: 12.21 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.6866, allocations: 8.031 kB / 1.456 GB, free: 12.21 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/0.6878, allocations: 164.6 kB / 1.456 GB, free: 12.05 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.688, allocations: 120 kB / 1.457 GB, free: 11.91 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.6881, allocations: 71.28 kB / 1.457 GB, free: 11.82 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.6882, allocations: 8 kB / 1.457 GB, free: 11.82 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005956/0.6888, allocations: 161.5 kB / 1.457 GB, free: 11.65 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.6888, allocations: 0 / 1.457 GB, free: 11.65 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.6888, allocations: 0 / 1.457 GB, free: 11.65 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.6888, allocations: 7.938 kB / 1.457 GB, free: 11.64 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008258/0.6896, allocations: 195.8 kB / 1.457 GB, free: 11.45 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009327/0.6906, allocations: 338 kB / 1.457 GB, free: 11.09 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000535/0.6911, allocations: 122.5 kB / 1.457 GB, free: 10.96 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000402/0.6915, allocations: 100.9 kB / 1.457 GB, free: 10.86 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.6915, allocations: 0 / 1.457 GB, free: 10.86 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.6915, allocations: 34.56 kB / 1.458 GB, free: 10.82 MB / 1.154 GB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.6915, allocations: 7.938 kB / 1.458 GB, free: 10.81 MB / 1.154 GB Notification: Performance of matching and sorting (n=6): time 0.001447/0.693, allocations: 309.3 kB / 1.458 GB, free: 10.5 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.693, allocations: 55.34 kB / 1.458 GB, free: 10.43 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.6932, allocations: 125.8 kB / 1.458 GB, free: 10.3 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.6932, allocations: 29.7 kB / 1.458 GB, free: 10.27 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 9.695e-05/0.6933, allocations: 108.1 kB / 1.458 GB, free: 10.16 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.6934, allocations: 15.83 kB / 1.458 GB, free: 10.14 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.537e-05/0.6934, allocations: 17.72 kB / 1.458 GB, free: 10.12 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.6936, allocations: 322.8 kB / 1.458 GB, free: 9.793 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000397/0.694, allocations: 83.92 kB / 1.459 GB, free: 9.711 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.6944, allocations: 91.91 kB / 1.459 GB, free: 9.621 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007524/0.6951, allocations: 172.6 kB / 1.459 GB, free: 9.449 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6951, allocations: 0 / 1.459 GB, free: 9.449 MB / 1.154 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008534/0.696, allocations: 217.9 kB / 1.459 GB, free: 9.23 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.696, allocations: 11.94 kB / 1.459 GB, free: 9.219 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.696, allocations: 0 / 1.459 GB, free: 9.219 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.6961, allocations: 0 / 1.459 GB, free: 9.219 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.6964, allocations: 39.95 kB / 1.459 GB, free: 9.18 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.6964, allocations: 4 kB / 1.459 GB, free: 9.176 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.6967, allocations: 35.95 kB / 1.459 GB, free: 9.141 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.6967, allocations: 4 kB / 1.459 GB, free: 9.137 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.0001587/0.6968, allocations: 118.3 kB / 1.459 GB, free: 9.012 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.6969, allocations: 11.89 kB / 1.459 GB, free: 9 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.6969, allocations: 12.36 kB / 1.459 GB, free: 8.984 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.6969, allocations: 3.938 kB / 1.459 GB, free: 8.98 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.6969, allocations: 4 kB / 1.459 GB, free: 8.977 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.6969, allocations: 0 / 1.459 GB, free: 8.977 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.6972, allocations: 145.2 kB / 1.459 GB, free: 8.805 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6972, allocations: 0 / 1.459 GB, free: 8.805 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/0.6975, allocations: 39.95 kB / 1.459 GB, free: 8.766 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.6975, allocations: 0 / 1.459 GB, free: 8.766 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.6975, allocations: 7.922 kB / 1.459 GB, free: 8.758 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6975, allocations: 0 / 1.459 GB, free: 8.758 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6975, allocations: 0 / 1.459 GB, free: 8.758 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009429/0.6984, allocations: 311.4 kB / 1.46 GB, free: 8.438 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 1.788e-05/0.6985, allocations: 15.88 kB / 1.46 GB, free: 8.422 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.6985, allocations: 7.922 kB / 1.46 GB, free: 8.414 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.6988, allocations: 31.97 kB / 1.46 GB, free: 8.383 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.6988, allocations: 7.984 kB / 1.46 GB, free: 8.375 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.6988, allocations: 0 / 1.46 GB, free: 8.375 MB / 1.154 GB Notification: Performance of sorting global known variables: time 8.921e-05/0.6989, allocations: 100.5 kB / 1.46 GB, free: 8.277 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.6989, allocations: 0 / 1.46 GB, free: 8.277 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002665/0.6992, allocations: 23.89 kB / 1.46 GB, free: 8.254 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.000203/0.6994, allocations: 107.2 kB / 1.46 GB, free: 8.141 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.000861/0.7003, allocations: 191.8 kB / 1.46 GB, free: 7.953 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7003, allocations: 0 / 1.46 GB, free: 7.953 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0004129/0.7007, allocations: 99.84 kB / 1.46 GB, free: 7.855 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.7011, allocations: 14.33 kB / 1.46 GB, free: 7.844 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.7024, allocations: 302.4 kB / 1.461 GB, free: 7.523 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.7025, allocations: 79.89 kB / 1.461 GB, free: 7.422 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001091/0.7026, allocations: 12 kB / 1.461 GB, free: 7.41 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.7027, allocations: 15.42 kB / 1.461 GB, free: 7.395 MB / 1.154 GB Notification: Performance of SimCode: time 4.31e-07/0.7027, allocations: 0 / 1.461 GB, free: 7.395 MB / 1.154 GB Notification: Performance of Templates: time 0.005278/0.708, allocations: 1.636 MB / 1.462 GB, free: 5.773 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) [Timeout 400] 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: 10.156801447999896]