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: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.001151, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001321/0.00132, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.2 MB / 239.9 MB, free: 5.305 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.429/2.429, allocations: 390.3 MB / 0.6653 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005693/0.0005696, allocations: 12 kB / 0.8145 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.716/0.7166, allocations: 142.3 MB / 0.9535 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001246/0.7179, allocations: 0.9934 MB / 0.9545 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008997/0.7188, allocations: 0.6749 MB / 0.9551 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.508e-05/0.7189, allocations: 0 / 0.9551 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.382e-05/0.7189, allocations: 0 / 0.9551 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.497e-05/0.7189, allocations: 9.109 kB / 0.9552 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.7192, allocations: 80.62 kB / 0.9552 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.213e-05/0.7193, allocations: 14.33 kB / 0.9552 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.7193, allocations: 1.281 kB / 0.9552 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.753e-05/0.7193, allocations: 3.906 kB / 0.9553 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.507e-05/0.7194, allocations: 4.031 kB / 0.9553 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.7194, allocations: 0 / 0.9553 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003624/0.7198, allocations: 168.2 kB / 0.9554 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.584e-06/0.7198, allocations: 1.562 kB / 0.9554 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.615e-05/0.7198, allocations: 31.33 kB / 0.9554 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.7199, allocations: 71.5 kB / 0.9555 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.7199, allocations: 1.188 kB / 0.9555 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.82e-07/0.7199, allocations: 3.938 kB / 0.9555 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.7199, allocations: 0 / 0.9555 GB, free: 6.531 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.0002115/0.7202, allocations: 332.2 kB / 0.9558 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.7202, allocations: 9.875 kB / 0.9558 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.7202, allocations: 5.109 kB / 0.9559 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.098e-05/0.7203, allocations: 160.1 kB / 0.956 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.7203, allocations: 4 kB / 0.956 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.7203, allocations: 2.125 kB / 0.956 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.512e-05/0.7204, allocations: 41.16 kB / 0.956 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.7204, allocations: 1.281 kB / 0.9561 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.7204, allocations: 0 / 0.9561 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.7204, allocations: 0 / 0.9561 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.719e-05/0.7205, allocations: 10.39 kB / 0.9561 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.7206, allocations: 157.2 kB / 0.9562 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.239e-05/0.7207, allocations: 38.27 kB / 0.9562 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00237/0.7231, allocations: 1.032 MB / 0.9573 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.7231, allocations: 38.47 kB / 0.9573 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.7231, allocations: 0 / 0.9573 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001299/0.7233, allocations: 44.38 kB / 0.9573 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/0.7233, allocations: 56.88 kB / 0.9574 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.159e-05/0.7233, allocations: 91.48 kB / 0.9575 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.7234, allocations: 31.11 kB / 0.9575 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.878e-05/0.7234, allocations: 84.12 kB / 0.9576 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.7234, allocations: 9.219 kB / 0.9576 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.7234, allocations: 0 / 0.9576 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.058e-05/0.7235, allocations: 316.3 kB / 0.9579 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.656e-05/0.7235, allocations: 6.906 kB / 0.9579 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.106e-05/0.7235, allocations: 6.312 kB / 0.9579 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.951e-05/0.7235, allocations: 12.36 kB / 0.9579 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7236, allocations: 3.938 kB / 0.9579 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.972e-05/0.7236, allocations: 45.34 kB / 0.958 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.7236, allocations: 5.375 kB / 0.958 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.7236, allocations: 1.062 kB / 0.958 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.7237, allocations: 0 / 0.958 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.891e-05/0.7237, allocations: 8.703 kB / 0.958 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.7237, allocations: 9.328 kB / 0.958 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.485e-05/0.7237, allocations: 3.938 kB / 0.958 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.7238, allocations: 1.281 kB / 0.958 GB, free: 4.207 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.964e-05/0.7238, allocations: 120 kB / 0.9581 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-06/0.7238, allocations: 0 / 0.9581 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.7239, allocations: 58 kB / 0.9582 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.7239, allocations: 0 / 0.9582 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.7239, allocations: 1.688 kB / 0.9582 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.7239, allocations: 3.984 kB / 0.9582 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.149e-05/0.724, allocations: 154.1 kB / 0.9583 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.724, allocations: 4 kB / 0.9583 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.379e-05/0.724, allocations: 7.828 kB / 0.9583 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.7241, allocations: 1.062 kB / 0.9583 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.7241, allocations: 0 / 0.9583 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7241, allocations: 1.312 kB / 0.9583 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.7241, allocations: 0 / 0.9583 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.851e-05/0.7241, allocations: 77.52 kB / 0.9584 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.7242, allocations: 78.61 kB / 0.9585 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.7242, allocations: 4 kB / 0.9585 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.198e-05/0.7242, allocations: 4 kB / 0.9585 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.7242, allocations: 2.438 kB / 0.9585 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.7242, allocations: 1.406 kB / 0.9585 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.686e-05/0.7242, allocations: 80.8 kB / 0.9586 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7243, allocations: 0 / 0.9586 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002585/0.7245, allocations: 26.03 kB / 0.9586 GB, free: 3.555 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002286/0.7248, allocations: 137.3 kB / 0.9587 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.876e-05/0.7248, allocations: 17.05 kB / 0.9587 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7248, allocations: 0 / 0.9587 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.844e-05/0.7249, allocations: 10.19 kB / 0.9587 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.725, allocations: 12.77 kB / 0.9588 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002474/0.7253, allocations: 117 kB / 0.9589 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.7254, allocations: 0.6777 MB / 0.9595 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.999e-05/0.7254, allocations: 6.688 kB / 0.9595 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.478e-05/0.7255, allocations: 8.812 kB / 0.9596 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7255, allocations: 1.375 kB / 0.9596 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of Templates: time 0.003229/0.7287, allocations: 0.8694 MB / 0.9604 GB, free: 2.137 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (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 & ./Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches