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.001395/0.001395, allocations: 101.6 kB / 16.37 MB, free: 6.43 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.001331/0.001331, allocations: 195.8 kB / 17.31 MB, free: 5.781 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.487/2.487, allocations: 442.6 MB / 0.7165 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 64.72 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2859, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002322/0.2883, allocations: 1.305 MB / 1.028 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.2893, allocations: 0.7397 MB / 1.029 GB, free: 12 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.584e-05/0.2893, allocations: 0 / 1.029 GB, free: 12 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.013e-05/0.2894, allocations: 3.984 kB / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.773e-05/0.2894, allocations: 3.938 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.2898, allocations: 92.02 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.8e-05/0.2898, allocations: 15.92 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.285e-05/0.2899, allocations: 8 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.656e-05/0.2899, allocations: 8 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.064e-05/0.29, allocations: 11.81 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.29, allocations: 0 / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002892/0.2903, allocations: 144.1 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.2903, allocations: 3.984 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.2903, allocations: 7.938 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.2905, allocations: 99.84 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2905, allocations: 0 / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.664e-06/0.2905, allocations: 0 / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.2905, allocations: 4 kB / 1.029 GB, free: 15.62 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.0003411/0.2909, allocations: 343.5 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.2909, allocations: 8.031 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.684e-05/0.2909, allocations: 8.875 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.2911, allocations: 164.4 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.2911, allocations: 384 / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/0.2911, allocations: 4.312 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.856e-05/0.2912, allocations: 38.02 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.2912, allocations: 0 / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.2912, allocations: 4 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.2912, allocations: 0 / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.855e-05/0.2913, allocations: 11.98 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/0.2914, allocations: 161.6 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.815e-05/0.2915, allocations: 34.52 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.908e-05/0.2916, allocations: 12.91 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001674/0.2932, allocations: 0.6611 MB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.2933, allocations: 38.5 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2933, allocations: 0 / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001334/0.2934, allocations: 49.62 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.853e-05/0.2935, allocations: 55.41 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.187e-05/0.2936, allocations: 93.86 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.2936, allocations: 29.7 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.2936, allocations: 84.12 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.2937, allocations: 3.906 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.2937, allocations: 17.72 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.674e-05/0.2938, allocations: 310.8 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.2938, allocations: 12.12 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.251e-05/0.2938, allocations: 7.984 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.283e-05/0.2939, allocations: 16.86 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2939, allocations: 0 / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.929e-05/0.2939, allocations: 49.62 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.294, allocations: 7.938 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.294, allocations: 0 / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.294, allocations: 0 / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.475e-05/0.294, allocations: 4 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2941, allocations: 0 / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.522e-05/0.2941, allocations: 11.94 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.2941, allocations: 0 / 1.031 GB, free: 13.11 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.297e-05/0.2942, allocations: 113.8 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.2942, allocations: 11.84 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.2943, allocations: 57.11 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.2943, allocations: 0 / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2943, allocations: 3.938 kB / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.2943, allocations: 0 / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.2944, allocations: 157.7 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2944, allocations: 0 / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/0.2945, allocations: 4 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.2945, allocations: 7.938 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.2945, allocations: 0 / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2945, allocations: 0 / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2945, allocations: 0 / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.432e-05/0.2946, allocations: 65.12 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.2946, allocations: 84.98 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.2946, allocations: 4 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.382e-05/0.2947, allocations: 8.422 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.2947, allocations: 3.984 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.2947, allocations: 0 / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.856e-05/0.2947, allocations: 79.28 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2947, allocations: 3.938 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002451/0.295, allocations: 24 kB / 1.032 GB, free: 12.38 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.0002217/0.2952, allocations: 135.3 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.123e-05/0.2953, allocations: 15.98 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2953, allocations: 0 / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.481e-05/0.2953, allocations: 8 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.2955, allocations: 11.98 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002292/0.2957, allocations: 110 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.296, allocations: 0.6766 MB / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.432e-05/0.296, allocations: 7.875 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.586e-05/0.296, allocations: 11.44 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.296, allocations: 0 / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of Templates: time 0.003042/0.2991, allocations: 0.8941 MB / 1.034 GB, free: 10.47 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 cvode -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