Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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.000882/0.000882, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0009475/0.0009475, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8997/0.8997, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.727/1.727, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.981 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.455e-05, allocations: 2.281 kB / 0.981 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001827/0.001852, allocations: 1.31 MB / 0.9823 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.002929, allocations: 0.7249 MB / 0.983 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.842e-05/0.002957, allocations: 4 kB / 0.983 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.218e-05/0.002979, allocations: 7.984 kB / 0.983 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.976e-05/0.003039, allocations: 0 / 0.983 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.003389, allocations: 99.78 kB / 0.9831 GB, free: 396 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.87e-05/0.003448, allocations: 15.92 kB / 0.9831 GB, free: 380 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.003491, allocations: 4 kB / 0.9831 GB, free: 376 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.489e-05/0.003525, allocations: 11.94 kB / 0.9831 GB, free: 364 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.88e-05/0.003574, allocations: 3.984 kB / 0.9831 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.00359, allocations: 4 kB / 0.9831 GB, free: 356 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002328/0.003823, allocations: 140 kB / 0.9833 GB, free: 216 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.003836, allocations: 4 kB / 0.9833 GB, free: 212 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.003855, allocations: 4 kB / 0.9833 GB, free: 208 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.004017, allocations: 131.6 kB / 0.9834 GB, free: 76 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.004021, allocations: 3.984 kB / 0.9834 GB, free: 72 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.763e-06/0.004023, allocations: 0 / 0.9834 GB, free: 72 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.004028, allocations: 0 / 0.9834 GB, free: 72 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003068/0.004335, allocations: 258.3 kB / 0.9836 GB, free: 15.79 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.004383, allocations: 8.031 kB / 0.9836 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.708e-05/0.00441, allocations: 30.75 kB / 0.9837 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.305e-05/0.004433, allocations: 4.938 kB / 0.9837 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.716e-05/0.00451, allocations: 113.7 kB / 0.9838 GB, free: 15.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.004521, allocations: 384 / 0.9838 GB, free: 15.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.00453, allocations: 12.38 kB / 0.9838 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.539e-05/0.004616, allocations: 34.25 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.004623, allocations: 192 / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.004634, allocations: 8.109 kB / 0.9838 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.004639, allocations: 3.938 kB / 0.9838 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.059e-05/0.004679, allocations: 12 kB / 0.9839 GB, free: 15.53 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001184/0.004798, allocations: 124.7 kB / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.95e-05/0.004877, allocations: 30.52 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.362e-05/0.004901, allocations: 24.95 kB / 0.984 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000881/0.005782, allocations: 352.6 kB / 0.9844 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.005807, allocations: 34.56 kB / 0.9844 GB, free: 14.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.005808, allocations: 8 kB / 0.9844 GB, free: 14.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0001567/0.005965, allocations: 49.62 kB / 0.9845 GB, free: 14.85 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.005998, allocations: 51.41 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.833e-05/0.006056, allocations: 97.8 kB / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.006066, allocations: 25.7 kB / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.679e-05/0.006092, allocations: 80.14 kB / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.006124, allocations: 19.92 kB / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.006147, allocations: 9.719 kB / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.756e-05/0.006224, allocations: 318.8 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.219e-05/0.006236, allocations: 4.062 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.799e-06/0.006246, allocations: 8 kB / 0.985 GB, free: 14.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.556e-05/0.006282, allocations: 20.84 kB / 0.9851 GB, free: 14.18 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.006284, allocations: 0 / 0.9851 GB, free: 14.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.59e-05/0.00634, allocations: 49.64 kB / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.006356, allocations: 4 kB / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.006362, allocations: 0 / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.006376, allocations: 7.938 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.773e-05/0.006434, allocations: 7.938 kB / 0.9851 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.006441, allocations: 0 / 0.9851 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.073e-05/0.006452, allocations: 0 / 0.9851 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.006456, allocations: 4 kB / 0.9851 GB, free: 14.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.604e-05/0.006512, allocations: 109.8 kB / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-06/0.006515, allocations: 0 / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.006617, allocations: 57.36 kB / 0.9853 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.006624, allocations: 3.938 kB / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.006635, allocations: 3.938 kB / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.006646, allocations: 4 kB / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.767e-05/0.006744, allocations: 116.8 kB / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.006745, allocations: 384 / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.495e-05/0.00676, allocations: 11.98 kB / 0.9854 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.006763, allocations: 7.938 kB / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.006768, allocations: 0 / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.006771, allocations: 3.938 kB / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.006771, allocations: 0 / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.702e-05/0.006828, allocations: 73.11 kB / 0.9855 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-06/0.006835, allocations: 7.891 kB / 0.9855 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.006845, allocations: 4 kB / 0.9855 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-06/0.006853, allocations: 7.938 kB / 0.9855 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.006866, allocations: 0 / 0.9855 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.006869, allocations: 0 / 0.9855 GB, free: 13.62 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.702e-05/0.006896, allocations: 87.27 kB / 0.9856 GB, free: 13.53 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006896, allocations: 0 / 0.9856 GB, free: 13.53 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001572/0.007053, allocations: 27.94 kB / 0.9856 GB, free: 13.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0003542/0.007407, allocations: 0.6323 MB / 0.9862 GB, free: 12.84 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.466e-05/0.007482, allocations: 19.98 kB / 0.9863 GB, free: 12.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.007483, allocations: 4.094 kB / 0.9863 GB, free: 12.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.717e-06/0.007492, allocations: 7.938 kB / 0.9863 GB, free: 12.81 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.00765, allocations: 7.938 kB / 0.9863 GB, free: 12.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.007968, allocations: 146.4 kB / 0.9864 GB, free: 12.62 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.74e-05/0.008005, allocations: 55.36 kB / 0.9865 GB, free: 12.55 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.333e-05/0.008029, allocations: 11.92 kB / 0.9865 GB, free: 12.54 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.008054, allocations: 12.5 kB / 0.9865 GB, free: 12.52 MB / 0.948 GB Notification: Performance of SimCode: time 6.22e-07/0.008055, allocations: 4 kB / 0.9865 GB, free: 12.52 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.02683, allocations: 2.409 MB / 0.9889 GB, free: 10.27 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.003/8.029, allocations: 14.2 kB / 0.9889 GB, free: 10.26 MB / 0.948 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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: 12.466054332442582]