Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001522/0.001522, allocations: 109 kB / 16.37 MB, free: 6.477 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.001184/0.001184, allocations: 194.7 kB / 17.31 MB, free: 5.824 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.456/2.456, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001327, allocations: 70.56 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.312, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002273/0.3143, allocations: 1.295 MB / 1.028 GB, free: 0.7383 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.3154, allocations: 0.7358 MB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.3154, allocations: 7.938 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.963e-05/0.3155, allocations: 0 / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.487e-05/0.3155, allocations: 0 / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.3159, allocations: 91.81 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.388e-05/0.3159, allocations: 19.88 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.316, allocations: 7.984 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.017e-05/0.316, allocations: 7.938 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.365e-05/0.3161, allocations: 7.984 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.3161, allocations: 0 / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002801/0.3164, allocations: 148.1 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.3164, allocations: 3.938 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.303e-05/0.3164, allocations: 15.92 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.3166, allocations: 95.84 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3166, allocations: 4 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3166, allocations: 0 / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.3166, allocations: 0 / 1.029 GB, free: 15.59 MB / 0.8106 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.0003099/0.3169, allocations: 339.5 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.317, allocations: 8.031 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.317, allocations: 8.938 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.437e-05/0.3171, allocations: 160.4 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.3171, allocations: 384 / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.3171, allocations: 4.375 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.64e-05/0.3172, allocations: 45.94 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.3172, allocations: 0 / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.3173, allocations: 0 / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3173, allocations: 0 / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.993e-05/0.3173, allocations: 11.98 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.3174, allocations: 157.5 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.996e-05/0.3175, allocations: 34.61 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.841e-05/0.3176, allocations: 16.92 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001624/0.3192, allocations: 0.6572 MB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.3192, allocations: 42.48 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.3192, allocations: 0 / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001333/0.3194, allocations: 45.69 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.3194, allocations: 51.41 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.705e-05/0.3195, allocations: 101.9 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.3195, allocations: 25.7 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.33e-05/0.3195, allocations: 80.14 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.3196, allocations: 7.906 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.3196, allocations: 13.72 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.478e-05/0.3197, allocations: 318.8 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.579e-05/0.3197, allocations: 0 / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.28e-05/0.3197, allocations: 11.94 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.189e-05/0.3198, allocations: 16.98 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3198, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.529e-05/0.3199, allocations: 45.97 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.3199, allocations: 7.938 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3199, allocations: 0 / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3199, allocations: 4.047 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.126e-05/0.32, allocations: 15.97 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.32, allocations: 0 / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.364e-05/0.32, allocations: 7.875 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.32, allocations: 0 / 1.031 GB, free: 13.09 MB / 0.8106 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.292e-05/0.3201, allocations: 121.7 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.3201, allocations: 11.84 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.3202, allocations: 49.19 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.3202, allocations: 0 / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3202, allocations: 0 / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3202, allocations: 0 / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.212e-05/0.3203, allocations: 153.7 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3203, allocations: 0 / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.411e-05/0.3204, allocations: 8 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3204, allocations: 11.92 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.3204, allocations: 0 / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3204, allocations: 3.984 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3204, allocations: 0 / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.077e-05/0.3205, allocations: 73.06 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.018e-05/0.3205, allocations: 84.98 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.3205, allocations: 4 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.176e-05/0.3205, allocations: 0 / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-06/0.3206, allocations: 4 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.3206, allocations: 0 / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.731e-05/0.3206, allocations: 79.28 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3206, allocations: 0 / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002278/0.3208, allocations: 35.98 kB / 1.032 GB, free: 12.35 MB / 0.8106 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.0002153/0.3211, allocations: 123.3 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.633e-05/0.3211, allocations: 15.92 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3212, allocations: 0 / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-05/0.3212, allocations: 12 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.3214, allocations: 4 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002308/0.3216, allocations: 106 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.3218, allocations: 0.6883 MB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.623e-05/0.3219, allocations: 7.938 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.3219, allocations: 7.438 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3219, allocations: 0 / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of Templates: time 0.002853/0.3247, allocations: 0.9023 MB / 1.034 GB, free: 10.44 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches