Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_9_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.001421/0.001421, 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.001392/0.001392, allocations: 194.9 kB / 16.25 MB, free: 6.625 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.181/1.181, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.954/1.954, allocations: 390.2 MB / 0.6644 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 63.91 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4428/0.4439, allocations: 140.4 MB / 0.9492 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001693/0.4457, allocations: 1.346 MB / 0.9506 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007746/0.4465, allocations: 0.7292 MB / 0.9513 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.404e-05/0.4465, allocations: 0 / 0.9513 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.4465, allocations: 3.984 kB / 0.9513 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.16e-05/0.4466, allocations: 9.328 kB / 0.9513 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.4468, allocations: 84.41 kB / 0.9514 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.89e-05/0.4469, allocations: 16.09 kB / 0.9514 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.914e-05/0.4469, allocations: 5.422 kB / 0.9514 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.64e-05/0.4469, allocations: 6.938 kB / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.647e-05/0.447, allocations: 12.23 kB / 0.9514 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.937e-06/0.447, allocations: 0 / 0.9514 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000231/0.4472, allocations: 147.9 kB / 0.9515 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.015e-06/0.4472, allocations: 0 / 0.9515 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.4473, allocations: 11.95 kB / 0.9516 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.4474, allocations: 103.5 kB / 0.9517 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.4474, allocations: 1.594 kB / 0.9517 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.21e-07/0.4474, allocations: 0 / 0.9517 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.4474, allocations: 3.938 kB / 0.9517 GB, free: 7.246 MB / 0.7169 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.0002149/0.4476, allocations: 337.3 kB / 0.952 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.4477, allocations: 9.281 kB / 0.952 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.123e-05/0.4477, allocations: 39.73 kB / 0.952 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.838e-05/0.4477, allocations: 1.812 kB / 0.952 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.987e-05/0.4478, allocations: 169.8 kB / 0.9522 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.4478, allocations: 4.375 kB / 0.9522 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-06/0.4478, allocations: 5.812 kB / 0.9522 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.371e-05/0.4479, allocations: 34 kB / 0.9522 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.4479, allocations: 0 / 0.9522 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.4479, allocations: 1.125 kB / 0.9522 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-06/0.4479, allocations: 0 / 0.9522 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.423e-05/0.4479, allocations: 10.78 kB / 0.9523 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.378e-05/0.448, allocations: 152.9 kB / 0.9524 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.355e-05/0.4481, allocations: 46.02 kB / 0.9524 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.993e-05/0.4481, allocations: 10.39 kB / 0.9524 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001398/0.4495, allocations: 0.6561 MB / 0.9531 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.4496, allocations: 31.62 kB / 0.9531 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.4496, allocations: 0 / 0.9531 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001141/0.4497, allocations: 55.02 kB / 0.9532 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.698e-05/0.4497, allocations: 52.59 kB / 0.9532 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.448e-05/0.4497, allocations: 96.44 kB / 0.9533 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.19e-06/0.4497, allocations: 29.83 kB / 0.9533 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.09e-05/0.4498, allocations: 85.36 kB / 0.9534 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.4498, allocations: 12.97 kB / 0.9534 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/0.4498, allocations: 12.44 kB / 0.9534 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.184e-05/0.4498, allocations: 320 kB / 0.9538 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.4499, allocations: 3.25 kB / 0.9538 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-06/0.4499, allocations: 6.25 kB / 0.9538 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.631e-05/0.4499, allocations: 16.7 kB / 0.9538 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.4499, allocations: 0 / 0.9538 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.398e-05/0.45, allocations: 57.59 kB / 0.9538 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.45, allocations: 4.594 kB / 0.9538 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.45, allocations: 0 / 0.9538 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.45, allocations: 0.9375 kB / 0.9538 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.364e-05/0.4501, allocations: 4.5 kB / 0.9538 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.4501, allocations: 1.156 kB / 0.9538 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.255e-05/0.4501, allocations: 4 kB / 0.9538 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.4501, allocations: 5.172 kB / 0.9539 GB, free: 5.039 MB / 0.7169 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 3.278e-05/0.4501, allocations: 110.9 kB / 0.954 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.615e-06/0.4501, allocations: 6.031 kB / 0.954 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.599e-05/0.4502, allocations: 61.28 kB / 0.954 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4502, allocations: 0.9688 kB / 0.954 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4502, allocations: 0 / 0.954 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.4502, allocations: 0 / 0.954 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.805e-05/0.4503, allocations: 162.8 kB / 0.9542 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.4503, allocations: 0 / 0.9542 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.932e-05/0.4503, allocations: 4.438 kB / 0.9542 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.4503, allocations: 0 / 0.9542 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.4503, allocations: 5.219 kB / 0.9542 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4503, allocations: 0 / 0.9542 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4504, allocations: 1.344 kB / 0.9542 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.328e-05/0.4504, allocations: 68.34 kB / 0.9543 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.216e-05/0.4504, allocations: 82.97 kB / 0.9543 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.826e-06/0.4504, allocations: 0 / 0.9543 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.026e-05/0.4505, allocations: 1.062 kB / 0.9543 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.05e-05/0.4505, allocations: 5.219 kB / 0.9543 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.4505, allocations: 9.125 kB / 0.9543 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.233e-05/0.4505, allocations: 76.59 kB / 0.9544 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4505, allocations: 1.219 kB / 0.9544 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000199/0.4507, allocations: 34.14 kB / 0.9545 GB, free: 4.383 MB / 0.7169 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.0002801/0.451, allocations: 0.6427 MB / 0.9551 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.7e-05/0.4511, allocations: 25.33 kB / 0.9551 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4511, allocations: 1.188 kB / 0.9551 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.207e-05/0.4511, allocations: 5.562 kB / 0.9551 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.4512, allocations: 2.562 kB / 0.9551 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.4515, allocations: 151.5 kB / 0.9553 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.314e-05/0.4516, allocations: 0.677 MB / 0.9559 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.437e-05/0.4516, allocations: 6.781 kB / 0.9559 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.4516, allocations: 12.66 kB / 0.9559 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.4516, allocations: 0 / 0.9559 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.407/3.859, allocations: 1.655 MB / 0.9576 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/3.859, allocations: 238.3 kB / 0.9578 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/5.887, allocations: 4 kB / 0.9578 GB, free: 1.797 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches