Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005075/0.005075, allocations: 99.45 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 194 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.5/2.5, allocations: 437 MB / 0.7105 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.89 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7603/0.7616, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002487/0.7641, allocations: 1.289 MB / 1.168 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.7654, allocations: 0.7322 MB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.7655, allocations: 0 / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.312e-05/0.7655, allocations: 11.92 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.132e-05/0.7656, allocations: 0 / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.766, allocations: 99.91 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.678e-05/0.766, allocations: 15.92 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.7661, allocations: 3.938 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.263e-05/0.7661, allocations: 4 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.377e-05/0.7662, allocations: 11.98 kB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.7662, allocations: 0 / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003262/0.7665, allocations: 148 kB / 1.169 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.7665, allocations: 8 kB / 1.169 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.7666, allocations: 7.938 kB / 1.169 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.7668, allocations: 103.3 kB / 1.169 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.7668, allocations: 0 / 1.169 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7668, allocations: 0 / 1.169 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.7668, allocations: 0 / 1.169 GB, free: 1.383 MB / 0.8887 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.0003985/0.7672, allocations: 332.4 kB / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.7673, allocations: 12.62 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.7673, allocations: 0.9375 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.7674, allocations: 168.3 kB / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.7675, allocations: 4.375 kB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.7675, allocations: 4.375 kB / 1.169 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.737e-05/0.7676, allocations: 38.02 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.7676, allocations: 0 / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.7676, allocations: 0 / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.7676, allocations: 3.938 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.683e-05/0.7677, allocations: 11.98 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/0.7678, allocations: 157.7 kB / 1.17 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.29e-05/0.7679, allocations: 30.58 kB / 1.17 GB, free: 500 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.768, allocations: 20.91 kB / 1.17 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001857/0.7698, allocations: 0.6494 MB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.7699, allocations: 38.44 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.7699, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0001655/0.77, allocations: 57.8 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.7701, allocations: 51.41 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.135e-05/0.7702, allocations: 93.86 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.7702, allocations: 29.83 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.7702, allocations: 84.12 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.7703, allocations: 11.95 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.7703, allocations: 9.719 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.7704, allocations: 318.8 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.7704, allocations: 4 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.358e-05/0.7704, allocations: 7.984 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.763e-05/0.7705, allocations: 20.8 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.7705, allocations: 4 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.676e-05/0.7706, allocations: 41.69 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.7706, allocations: 7.938 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.7706, allocations: 0 / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.7706, allocations: 0 / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.968e-05/0.7707, allocations: 12 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.7707, allocations: 0 / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.555e-05/0.7707, allocations: 3.953 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.7707, allocations: 0 / 1.171 GB, free: 14.89 MB / 0.9044 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 6.788e-05/0.7708, allocations: 113.8 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-06/0.7708, allocations: 3.938 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.7709, allocations: 61.11 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.7709, allocations: 0 / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.7709, allocations: 0 / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.771, allocations: 0 / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.7711, allocations: 157.6 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.7711, allocations: 0 / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.474e-05/0.7711, allocations: 8 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/0.7711, allocations: 3.938 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.7711, allocations: 11.94 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.7711, allocations: 0 / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7711, allocations: 0 / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.737e-05/0.7712, allocations: 73.06 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.7713, allocations: 85.05 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.7713, allocations: 0 / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.385e-05/0.7713, allocations: 3.984 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.7713, allocations: 0 / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.7714, allocations: 8 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.143e-05/0.7714, allocations: 75.28 kB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7714, allocations: 0 / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002334/0.7716, allocations: 31.94 kB / 1.172 GB, free: 14.16 MB / 0.9044 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.0002354/0.7719, allocations: 131.1 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001559/0.772, allocations: 20.22 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7721, allocations: 0 / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.568e-05/0.7721, allocations: 8.031 kB / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.7723, allocations: 8.078 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/0.7725, allocations: 110 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.7727, allocations: 0.6729 MB / 1.173 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.408e-05/0.7728, allocations: 4 kB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.916e-05/0.7728, allocations: 11.44 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of SimCode: time 7.12e-07/0.7728, allocations: 0 / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of Templates: time 0.003396/0.7762, allocations: 0.9082 MB / 1.174 GB, free: 12.24 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches