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.00155/0.00155, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00197/0.001971, allocations: 192 kB / 16.14 MB, free: 6.719 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.255/1.255, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.107/2.107, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5154/0.5167, allocations: 140.4 MB / 0.9491 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002075/0.5188, allocations: 1.352 MB / 0.9504 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000964/0.5198, allocations: 0.7636 MB / 0.9511 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.474e-05/0.5199, allocations: 0 / 0.9511 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.5199, allocations: 0 / 0.9511 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.157e-05/0.5199, allocations: 8.703 kB / 0.9511 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.5202, allocations: 70.31 kB / 0.9512 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.119e-05/0.5203, allocations: 12.16 kB / 0.9512 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.599e-05/0.5203, allocations: 9.297 kB / 0.9512 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.829e-05/0.5203, allocations: 7.812 kB / 0.9512 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.144e-05/0.5204, allocations: 11.73 kB / 0.9512 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.5204, allocations: 1.281 kB / 0.9512 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/0.5207, allocations: 154.1 kB / 0.9514 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.5207, allocations: 3.984 kB / 0.9514 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.5207, allocations: 3.031 kB / 0.9514 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.5209, allocations: 103.7 kB / 0.9515 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.5209, allocations: 1.781 kB / 0.9515 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5209, allocations: 4 kB / 0.9515 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.5209, allocations: 3.938 kB / 0.9515 GB, free: 7.281 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.0002389/0.5212, allocations: 337.5 kB / 0.9518 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.5212, allocations: 8.688 kB / 0.9518 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.147e-05/0.5213, allocations: 35.88 kB / 0.9519 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.247e-05/0.5213, allocations: 1.938 kB / 0.9519 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.114e-05/0.5213, allocations: 161.5 kB / 0.952 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.5214, allocations: 1.594 kB / 0.952 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.5214, allocations: 5.219 kB / 0.952 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.334e-05/0.5215, allocations: 41.66 kB / 0.9521 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.5215, allocations: 0 / 0.9521 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.5215, allocations: 5.125 kB / 0.9521 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.5215, allocations: 3.984 kB / 0.9521 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.778e-05/0.5215, allocations: 13.86 kB / 0.9521 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.989e-05/0.5216, allocations: 154.2 kB / 0.9522 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.543e-05/0.5217, allocations: 41.61 kB / 0.9523 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.43e-05/0.5218, allocations: 13.67 kB / 0.9523 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00155/0.5233, allocations: 0.6607 MB / 0.9529 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.5233, allocations: 35.81 kB / 0.953 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.5233, allocations: 0 / 0.953 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001281/0.5235, allocations: 50.81 kB / 0.953 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.719e-05/0.5235, allocations: 52.53 kB / 0.9531 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.683e-05/0.5235, allocations: 96.14 kB / 0.9532 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-06/0.5236, allocations: 26.8 kB / 0.9532 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.141e-05/0.5236, allocations: 80.14 kB / 0.9533 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.5236, allocations: 20.98 kB / 0.9533 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.5236, allocations: 16.97 kB / 0.9533 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.374e-05/0.5237, allocations: 312 kB / 0.9536 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.5237, allocations: 3.188 kB / 0.9536 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.219e-05/0.5237, allocations: 2.906 kB / 0.9536 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.146e-05/0.5237, allocations: 20.84 kB / 0.9536 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5237, allocations: 0 / 0.9536 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.224e-05/0.5238, allocations: 49.17 kB / 0.9537 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.5238, allocations: 9.203 kB / 0.9537 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.5238, allocations: 4 kB / 0.9537 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.5239, allocations: 0 / 0.9537 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.612e-05/0.5239, allocations: 4.938 kB / 0.9537 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.5239, allocations: 0 / 0.9537 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.403e-05/0.5239, allocations: 1.219 kB / 0.9537 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.5239, allocations: 1.219 kB / 0.9537 GB, free: 5.078 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.981e-05/0.524, allocations: 114.9 kB / 0.9538 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/0.524, allocations: 1.438 kB / 0.9538 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.833e-05/0.5241, allocations: 62.11 kB / 0.9539 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.5241, allocations: 0 / 0.9539 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.5241, allocations: 1.438 kB / 0.9539 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.5241, allocations: 0 / 0.9539 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.726e-05/0.5242, allocations: 157.9 kB / 0.954 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5242, allocations: 7.922 kB / 0.954 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.429e-05/0.5242, allocations: 3.938 kB / 0.954 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.5242, allocations: 1.781 kB / 0.954 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.5242, allocations: 0 / 0.954 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.5242, allocations: 5.656 kB / 0.954 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5243, allocations: 4 kB / 0.954 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.436e-05/0.5243, allocations: 72.42 kB / 0.9541 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.5243, allocations: 78.08 kB / 0.9542 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.5244, allocations: 9.406 kB / 0.9542 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.246e-05/0.5244, allocations: 4 kB / 0.9542 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.5244, allocations: 5.328 kB / 0.9542 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.5244, allocations: 1.438 kB / 0.9542 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.532e-05/0.5244, allocations: 81.66 kB / 0.9543 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5244, allocations: 0 / 0.9543 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002242/0.5246, allocations: 30.19 kB / 0.9543 GB, free: 4.41 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.0003308/0.525, allocations: 0.6309 MB / 0.9549 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.633e-05/0.5251, allocations: 20.86 kB / 0.9549 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5251, allocations: 1.25 kB / 0.9549 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.407e-05/0.5251, allocations: 5.5 kB / 0.9549 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.5253, allocations: 7.016 kB / 0.9549 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000311/0.5256, allocations: 153.7 kB / 0.9551 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.078e-05/0.5257, allocations: 0.6793 MB / 0.9558 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.716e-05/0.5257, allocations: 4.188 kB / 0.9558 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.086e-05/0.5257, allocations: 12.5 kB / 0.9558 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.5257, allocations: 0 / 0.9558 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1439/0.6696, allocations: 1.626 MB / 0.9574 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.6698, allocations: 227.7 kB / 0.9576 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/2.365, allocations: 1.156 kB / 0.9576 GB, free: 1.848 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