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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009068/0.0009069, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005319/0.00532, allocations: 170.6 kB / 16.27 MB, free: 6.66 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.235/1.235, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.142/2.142, allocations: 390.9 MB / 0.6664 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002889/0.0002889, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5381/0.5384, allocations: 142.4 MB / 0.9552 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001004/0.5394, allocations: 1.009 MB / 0.9562 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008851/0.5403, allocations: 0.7536 MB / 0.9569 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.208e-05/0.5403, allocations: 0 / 0.9569 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.171e-05/0.5403, allocations: 0 / 0.9569 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.693e-05/0.5404, allocations: 9.297 kB / 0.9569 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.5406, allocations: 69.83 kB / 0.957 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.885e-05/0.5407, allocations: 16.34 kB / 0.957 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.303e-05/0.5407, allocations: 0.75 kB / 0.957 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.85e-05/0.5407, allocations: 12.38 kB / 0.957 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.16e-05/0.5408, allocations: 11.89 kB / 0.957 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.157e-06/0.5408, allocations: 0 / 0.957 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000266/0.5411, allocations: 153.8 kB / 0.9572 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.788e-06/0.5411, allocations: 5.172 kB / 0.9572 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.5411, allocations: 32.05 kB / 0.9572 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.5413, allocations: 104.9 kB / 0.9573 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5413, allocations: 0 / 0.9573 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.123e-06/0.5413, allocations: 3.938 kB / 0.9573 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.735e-06/0.5413, allocations: 0 / 0.9573 GB, free: 6.07 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.0002085/0.5415, allocations: 339.9 kB / 0.9576 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.5416, allocations: 8.562 kB / 0.9576 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.205e-05/0.5416, allocations: 35.95 kB / 0.9577 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.858e-05/0.5416, allocations: 6.594 kB / 0.9577 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.959e-05/0.5417, allocations: 164.3 kB / 0.9578 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.5417, allocations: 2.062 kB / 0.9578 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-06/0.5417, allocations: 5.25 kB / 0.9578 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.933e-05/0.5418, allocations: 33.56 kB / 0.9579 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.859e-06/0.5418, allocations: 0 / 0.9579 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-06/0.5418, allocations: 5.688 kB / 0.9579 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.5418, allocations: 0 / 0.9579 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.6e-05/0.5419, allocations: 10.53 kB / 0.9579 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.341e-05/0.542, allocations: 153.7 kB / 0.958 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.792e-05/0.542, allocations: 41.83 kB / 0.9581 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.5421, allocations: 10.7 kB / 0.9581 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002126/0.5442, allocations: 1.035 MB / 0.9591 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.5442, allocations: 31.94 kB / 0.9591 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.5442, allocations: 0 / 0.9591 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000121/0.5443, allocations: 46.06 kB / 0.9592 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.5444, allocations: 56.72 kB / 0.9592 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.495e-05/0.5444, allocations: 100.6 kB / 0.9593 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.46e-06/0.5444, allocations: 25.7 kB / 0.9593 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.262e-05/0.5444, allocations: 85.52 kB / 0.9594 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.5445, allocations: 9.188 kB / 0.9594 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/0.5445, allocations: 9.719 kB / 0.9594 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.344e-05/0.5445, allocations: 312.2 kB / 0.9597 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.5445, allocations: 6.75 kB / 0.9597 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.011e-05/0.5446, allocations: 10.67 kB / 0.9598 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.866e-05/0.5446, allocations: 17.39 kB / 0.9598 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.5446, allocations: 4.125 kB / 0.9598 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.766e-05/0.5447, allocations: 56.33 kB / 0.9598 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.5447, allocations: 7.5 kB / 0.9598 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.5447, allocations: 0 / 0.9598 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.5447, allocations: 2.125 kB / 0.9598 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.293e-05/0.5447, allocations: 3.844 kB / 0.9598 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.5448, allocations: 0 / 0.9598 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.45e-05/0.5448, allocations: 5.25 kB / 0.9598 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.5448, allocations: 4 kB / 0.9599 GB, free: 3.66 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.968e-05/0.5448, allocations: 115.4 kB / 0.96 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-06/0.5448, allocations: 1.375 kB / 0.96 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.51e-05/0.5449, allocations: 61.83 kB / 0.96 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.545, allocations: 1.281 kB / 0.96 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.545, allocations: 0 / 0.96 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-06/0.545, allocations: 3.938 kB / 0.96 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.53e-05/0.545, allocations: 153.9 kB / 0.9602 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.545, allocations: 0 / 0.9602 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/0.5451, allocations: 4.5 kB / 0.9602 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.5451, allocations: 4.906 kB / 0.9602 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.5451, allocations: 1.031 kB / 0.9602 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.5451, allocations: 0 / 0.9602 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5451, allocations: 1.469 kB / 0.9602 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.636e-05/0.5452, allocations: 76.38 kB / 0.9603 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.5452, allocations: 78.17 kB / 0.9603 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.5452, allocations: 1 kB / 0.9603 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.164e-05/0.5452, allocations: 0 / 0.9603 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.22e-05/0.5452, allocations: 9.891 kB / 0.9603 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.5452, allocations: 0.8438 kB / 0.9603 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.555e-05/0.5453, allocations: 77.31 kB / 0.9604 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.32e-07/0.5453, allocations: 0 / 0.9604 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002172/0.5455, allocations: 35.38 kB / 0.9605 GB, free: 3.008 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.0003126/0.5458, allocations: 0.645 MB / 0.9611 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.132e-05/0.5459, allocations: 9.938 kB / 0.9611 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5459, allocations: 0 / 0.9611 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.438e-05/0.5459, allocations: 10.88 kB / 0.9611 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.5461, allocations: 11.7 kB / 0.9611 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000291/0.5464, allocations: 151.1 kB / 0.9613 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.655e-05/0.5465, allocations: 0.6734 MB / 0.9619 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.616e-05/0.5465, allocations: 10.14 kB / 0.9619 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.5465, allocations: 9.594 kB / 0.9619 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of SimCode: time 3.91e-07/0.5465, allocations: 0 / 0.9619 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1887/0.7352, allocations: 1.562 MB / 0.9635 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001518/0.7354, allocations: 235.9 kB / 0.9637 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.24/2.975, allocations: 0 / 0.9637 GB, free: 0.5195 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