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.002195/0.002196, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002153/0.002153, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.233/1.233, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.456/2.456, allocations: 469.8 MB / 0.7424 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 70.31 kB / 0.9087 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2279, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002073/0.23, allocations: 1.295 MB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009922/0.231, allocations: 0.7346 MB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.634e-05/0.231, allocations: 4 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.469e-05/0.231, allocations: 0 / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.98e-05/0.2311, allocations: 11.92 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.2314, allocations: 83.97 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.458e-05/0.2314, allocations: 19.88 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.2315, allocations: 3.984 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.833e-05/0.2315, allocations: 7.984 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.731e-05/0.2315, allocations: 7.938 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.2316, allocations: 0 / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.2318, allocations: 144.1 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.2318, allocations: 8 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.695e-05/0.2319, allocations: 8 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.232, allocations: 104 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2321, allocations: 0 / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.875e-06/0.2321, allocations: 3.984 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.2321, allocations: 0 / 1.066 GB, free: 11.73 MB / 0.8262 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.0003168/0.2324, allocations: 335.6 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.2324, allocations: 8.031 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.114e-05/0.2325, allocations: 30.75 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.941e-05/0.2325, allocations: 0.9375 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.2326, allocations: 180.2 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.2326, allocations: 384 / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.2326, allocations: 8.312 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.61e-05/0.2327, allocations: 37.81 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.2327, allocations: 0 / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-06/0.2327, allocations: 0 / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.2327, allocations: 4 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.201e-05/0.2328, allocations: 8 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.2329, allocations: 153.7 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.774e-05/0.233, allocations: 46.48 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.677e-05/0.233, allocations: 12.92 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001665/0.2347, allocations: 0.6494 MB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.2348, allocations: 42.48 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2348, allocations: 0 / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001447/0.2349, allocations: 49.69 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.235, allocations: 59.33 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.022e-05/0.235, allocations: 93.86 kB / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.2351, allocations: 29.83 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.2351, allocations: 80.14 kB / 1.068 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.2351, allocations: 7.906 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.2352, allocations: 13.72 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.2353, allocations: 314.8 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.817e-05/0.2353, allocations: 8 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.074e-05/0.2353, allocations: 4 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.121e-05/0.2354, allocations: 12.86 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2354, allocations: 8 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.813e-05/0.2354, allocations: 49.56 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.2355, allocations: 8 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.2355, allocations: 0 / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.2355, allocations: 0 / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.205e-05/0.2355, allocations: 4 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.2355, allocations: 3.984 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.419e-05/0.2356, allocations: 3.906 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.2356, allocations: 4 kB / 1.069 GB, free: 9.191 MB / 0.8262 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 7.05e-05/0.2356, allocations: 109.8 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.2357, allocations: 3.938 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.2358, allocations: 57.12 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.2358, allocations: 4 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2358, allocations: 4 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2358, allocations: 3.938 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.2359, allocations: 153.6 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.2359, allocations: 0 / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.407e-05/0.2359, allocations: 7.938 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.2359, allocations: 4 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.2359, allocations: 4 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.236, allocations: 11.92 kB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.236, allocations: 0 / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.794e-05/0.236, allocations: 65.12 kB / 1.069 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.2361, allocations: 81.05 kB / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.2361, allocations: 0 / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.066e-05/0.2361, allocations: 0 / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.2361, allocations: 8 kB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/0.2361, allocations: 432 / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.2362, allocations: 79.28 kB / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.274e-06/0.2362, allocations: 0 / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001988/0.2364, allocations: 35.92 kB / 1.069 GB, free: 8.469 MB / 0.8262 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.0004861/0.2369, allocations: 0.6442 MB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.569e-05/0.237, allocations: 11.98 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.237, allocations: 0 / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.962e-05/0.237, allocations: 15.94 kB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.2372, allocations: 9.188 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.2375, allocations: 147.6 kB / 1.07 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.2378, allocations: 0.6729 MB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.485e-05/0.2378, allocations: 7.938 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.2378, allocations: 7.438 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2379, allocations: 0 / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.295/1.533, allocations: 1.747 MB / 1.072 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.41/17.94, allocations: 7.859 kB / 1.072 GB, free: 5.23 MB / 0.8262 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