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: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_latest_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_latest_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.00878/0.00878, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.002024/0.002024, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.604/2.604, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 67.89 kB / 1.054 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7183/0.7197, allocations: 157.4 MB / 1.208 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002424/0.7221, allocations: 1.291 MB / 1.209 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.7233, allocations: 0.7366 MB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.023e-05/0.7234, allocations: 0 / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.7234, allocations: 0 / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.875e-05/0.7235, allocations: 7.938 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.7238, allocations: 95.89 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.889e-05/0.7239, allocations: 19.94 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.11e-05/0.724, allocations: 0 / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.365e-05/0.724, allocations: 11.92 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.455e-05/0.724, allocations: 4 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.7241, allocations: 0 / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003067/0.7244, allocations: 148 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.7244, allocations: 0 / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.7244, allocations: 11.94 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.7246, allocations: 111.7 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7246, allocations: 0 / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7246, allocations: 4 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.7246, allocations: 0 / 1.21 GB, free: 11.32 MB / 0.9356 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.0003365/0.725, allocations: 333.3 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.725, allocations: 12.03 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.7251, allocations: 8.844 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.7252, allocations: 160.4 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.7252, allocations: 384 / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.7252, allocations: 4.375 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.384e-05/0.7253, allocations: 42 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.7253, allocations: 4 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.7253, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.7253, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.375e-05/0.7254, allocations: 11.94 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.7255, allocations: 153.7 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.113e-05/0.7256, allocations: 38.66 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.775e-05/0.7257, allocations: 12.86 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001636/0.7273, allocations: 0.6494 MB / 1.211 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.7274, allocations: 38.5 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.7274, allocations: 0 / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0001418/0.7275, allocations: 49.62 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.7276, allocations: 51.41 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.202e-05/0.7276, allocations: 101.8 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.7276, allocations: 25.7 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.789e-05/0.7277, allocations: 84.08 kB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.7277, allocations: 11.84 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.7277, allocations: 21.84 kB / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.882e-05/0.7278, allocations: 314.8 kB / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.648e-05/0.7279, allocations: 0 / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.18e-05/0.7279, allocations: 11.94 kB / 1.212 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.459e-05/0.7279, allocations: 12.86 kB / 1.212 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.7279, allocations: 0 / 1.212 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.12e-05/0.728, allocations: 53.53 kB / 1.212 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.728, allocations: 7.938 kB / 1.212 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.728, allocations: 0 / 1.212 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.7281, allocations: 8 kB / 1.212 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.846e-05/0.7281, allocations: 4 kB / 1.212 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.7281, allocations: 0 / 1.212 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.7281, allocations: 3.984 kB / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.7282, allocations: 0 / 1.212 GB, free: 8.828 MB / 0.9356 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 6.477e-05/0.7282, allocations: 113.8 kB / 1.212 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.7282, allocations: 3.938 kB / 1.212 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.7284, allocations: 53.12 kB / 1.212 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.7284, allocations: 4 kB / 1.212 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.7284, allocations: 0 / 1.212 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.7284, allocations: 0 / 1.212 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.859e-05/0.7285, allocations: 157.7 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7285, allocations: 4 kB / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.487e-05/0.7285, allocations: 4 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.7285, allocations: 3.938 kB / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.7285, allocations: 0 / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7285, allocations: 0 / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.7286, allocations: 7.984 kB / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.239e-05/0.7286, allocations: 73.5 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.7287, allocations: 85.05 kB / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.7287, allocations: 0 / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.254e-05/0.7287, allocations: 7.875 kB / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.7287, allocations: 4.031 kB / 1.213 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.7287, allocations: 4 kB / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.569e-05/0.7288, allocations: 75.28 kB / 1.213 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7288, allocations: 0 / 1.213 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002336/0.729, allocations: 40.08 kB / 1.213 GB, free: 8.094 MB / 0.9356 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.0002435/0.7293, allocations: 127.1 kB / 1.213 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.45e-05/0.7294, allocations: 12 kB / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7294, allocations: 0 / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-05/0.7294, allocations: 19.92 kB / 1.213 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.7296, allocations: 4 kB / 1.213 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002295/0.7298, allocations: 113.9 kB / 1.213 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.73, allocations: 0.6729 MB / 1.214 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.618e-05/0.7301, allocations: 4 kB / 1.214 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.578e-05/0.7301, allocations: 11.44 kB / 1.214 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.7301, allocations: 4 kB / 1.214 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of Templates: time 0.002975/0.7331, allocations: 0.8965 MB / 1.215 GB, free: 6.184 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (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 & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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