Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007141/0.007141, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.002173/0.002173, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.241/1.241, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.459/2.459, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 68.12 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2415, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002039/0.2436, allocations: 1.302 MB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.2446, allocations: 0.725 MB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.7e-05/0.2446, allocations: 0 / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.976e-05/0.2446, allocations: 7.922 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.178e-05/0.2447, allocations: 7.938 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.245, allocations: 87.91 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.252e-05/0.2451, allocations: 19.92 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.536e-05/0.2451, allocations: 0 / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.749e-05/0.2451, allocations: 4 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.223e-05/0.2452, allocations: 15.92 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.726e-06/0.2452, allocations: 4 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002811/0.2455, allocations: 144.1 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.2455, allocations: 7.984 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.686e-05/0.2455, allocations: 4 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.2457, allocations: 107.7 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.2457, allocations: 0 / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2457, allocations: 0 / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.2457, allocations: 0 / 1.223 GB, free: 11.84 MB / 0.9825 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.0003106/0.246, allocations: 331.4 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.2461, allocations: 16.03 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.633e-05/0.2461, allocations: 34.69 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.733e-05/0.2461, allocations: 0.9375 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.2462, allocations: 172.3 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.2463, allocations: 4.375 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.2463, allocations: 4.375 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.107e-05/0.2464, allocations: 37.81 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.2464, allocations: 0 / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-06/0.2464, allocations: 0 / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2464, allocations: 0 / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.494e-05/0.2464, allocations: 19.94 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.2466, allocations: 149.7 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.841e-05/0.2467, allocations: 34.61 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.2467, allocations: 16.91 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001627/0.2483, allocations: 0.6533 MB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.2484, allocations: 38.5 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.2484, allocations: 0 / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0001253/0.2485, allocations: 49.62 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.2485, allocations: 59.41 kB / 1.224 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.726e-05/0.2486, allocations: 93.84 kB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.2486, allocations: 25.7 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.2487, allocations: 84.14 kB / 1.224 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.2487, allocations: 7.953 kB / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/0.2487, allocations: 13.72 kB / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2488, allocations: 314.8 kB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/0.2488, allocations: 12.11 kB / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-06/0.2489, allocations: 0 / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.488e-05/0.2489, allocations: 16.86 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2489, allocations: 0 / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.095e-05/0.249, allocations: 57.52 kB / 1.225 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.249, allocations: 8 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.249, allocations: 0 / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.249, allocations: 0 / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.795e-05/0.2491, allocations: 4 kB / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.2491, allocations: 0 / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.342e-05/0.2491, allocations: 4 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-06/0.2491, allocations: 0 / 1.225 GB, free: 9.305 MB / 0.9825 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.39e-05/0.2492, allocations: 118.3 kB / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.2492, allocations: 3.938 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.2493, allocations: 61.06 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2493, allocations: 0 / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2493, allocations: 4 kB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.2493, allocations: 0 / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.2494, allocations: 149.7 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2494, allocations: 8 kB / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.432e-05/0.2494, allocations: 7.938 kB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2495, allocations: 0 / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.2495, allocations: 4 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2495, allocations: 0 / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2495, allocations: 0 / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.996e-05/0.2496, allocations: 77.38 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.2496, allocations: 89.03 kB / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.2496, allocations: 7.984 kB / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.048e-05/0.2496, allocations: 0 / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-06/0.2496, allocations: 0 / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.2497, allocations: 4 kB / 1.225 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.211e-05/0.2497, allocations: 79.28 kB / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.2497, allocations: 0 / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001961/0.2499, allocations: 27.94 kB / 1.225 GB, free: 8.574 MB / 0.9825 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.0004426/0.2503, allocations: 0.6436 MB / 1.226 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.849e-05/0.2504, allocations: 11.94 kB / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2504, allocations: 0 / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.902e-05/0.2505, allocations: 19.98 kB / 1.226 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.2506, allocations: 2.031 kB / 1.226 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.2509, allocations: 143.5 kB / 1.226 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.2512, allocations: 0.6768 MB / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.379e-05/0.2512, allocations: 7.938 kB / 1.227 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.892e-05/0.2512, allocations: 7.438 kB / 1.227 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.2512, allocations: 4 kB / 1.227 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.026/3.277, allocations: 1.765 MB / 1.229 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/18.53, allocations: 22.28 kB / 1.229 GB, free: 5.328 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches