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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_latest_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.001164/0.001164, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001242/0.001242, allocations: 194.7 kB / 16.25 MB, free: 6.629 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.218/1.218, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.391/2.391, allocations: 461.9 MB / 0.7344 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 68.38 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2158, allocations: 157.4 MB / 1.052 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.00191/0.2178, allocations: 1.349 MB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000892/0.2187, allocations: 0.7522 MB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.198e-05/0.2187, allocations: 0 / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.371e-05/0.2187, allocations: 0 / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.199e-05/0.2188, allocations: 4 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.2191, allocations: 84 kB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.367e-05/0.2191, allocations: 15.92 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.355e-05/0.2191, allocations: 7.984 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.67e-05/0.2192, allocations: 8 kB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.369e-05/0.2192, allocations: 7.875 kB / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.2192, allocations: 4 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.2195, allocations: 148.9 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.137e-06/0.2195, allocations: 3.984 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.684e-05/0.2195, allocations: 11.98 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.2197, allocations: 112.5 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2197, allocations: 0 / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2197, allocations: 0 / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.2197, allocations: 0 / 1.055 GB, free: 6.105 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.0002768/0.22, allocations: 323.6 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.22, allocations: 12.62 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.335e-05/0.22, allocations: 34.75 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.795e-05/0.2201, allocations: 0.9375 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.813e-05/0.2202, allocations: 168.3 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.2202, allocations: 4.375 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.084e-06/0.2202, allocations: 384 / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.228e-05/0.2203, allocations: 41.75 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.2203, allocations: 0 / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.2203, allocations: 4 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.2203, allocations: 0 / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.305e-05/0.2203, allocations: 11.98 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/0.2205, allocations: 153.6 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.777e-05/0.2205, allocations: 42.55 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.218e-05/0.2206, allocations: 8.922 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001549/0.2221, allocations: 0.6611 MB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.2222, allocations: 34.5 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 2.064e-06/0.2222, allocations: 3.984 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000112/0.2223, allocations: 45.69 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.2223, allocations: 55.41 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.537e-05/0.2224, allocations: 97.86 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.347e-06/0.2224, allocations: 25.7 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.393e-05/0.2224, allocations: 84.14 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.2224, allocations: 3.906 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.2225, allocations: 21.7 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.075e-05/0.2226, allocations: 310.8 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/0.2226, allocations: 4 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.326e-06/0.2226, allocations: 3.938 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.9e-05/0.2226, allocations: 20.97 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2226, allocations: 4 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.81e-05/0.2227, allocations: 45.64 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.916e-06/0.2227, allocations: 4 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.2227, allocations: 4 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.2227, allocations: 3.938 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.199e-05/0.2228, allocations: 7.984 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.768e-06/0.2228, allocations: 0 / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.182e-05/0.2228, allocations: 0 / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.2228, allocations: 0 / 1.057 GB, free: 3.586 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 5.747e-05/0.2229, allocations: 121.8 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.2229, allocations: 7.844 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.028e-05/0.223, allocations: 49.19 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.223, allocations: 0 / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.223, allocations: 4 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.223, allocations: 3.984 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.567e-05/0.2231, allocations: 153.6 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2231, allocations: 0 / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.335e-05/0.2231, allocations: 11.92 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.2231, allocations: 4 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.2231, allocations: 4 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2231, allocations: 3.938 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2232, allocations: 0 / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.879e-05/0.2232, allocations: 73.06 kB / 1.057 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.34e-05/0.2233, allocations: 81.05 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.2233, allocations: 4 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.097e-05/0.2233, allocations: 0 / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.118e-05/0.2233, allocations: 4.422 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.2233, allocations: 4 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.592e-05/0.2233, allocations: 79.27 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2234, allocations: 0 / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001978/0.2236, allocations: 28 kB / 1.058 GB, free: 2.859 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.0004005/0.224, allocations: 0.6398 MB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.56e-05/0.224, allocations: 19.98 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.224, allocations: 0 / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.317e-05/0.2241, allocations: 7.938 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.2242, allocations: 9.703 kB / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003049/0.2245, allocations: 175.5 kB / 1.058 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.2247, allocations: 0.6729 MB / 1.059 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.462e-05/0.2248, allocations: 7.984 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.2248, allocations: 7.438 kB / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.2248, allocations: 0 / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.285/2.51, allocations: 1.659 MB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002955/2.51, allocations: 240.3 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.502/5.012, allocations: 0 / 1.061 GB, free: 15.48 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > 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