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.001107/0.001107, allocations: 103.2 kB / 16.36 MB, free: 6.336 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.001074/0.001074, allocations: 198 kB / 17.3 MB, free: 5.883 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.197/2.197, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 62.47 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2292, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.00232/0.2315, allocations: 1.291 MB / 0.9524 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.2326, allocations: 0.7279 MB / 0.9531 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.025e-05/0.2327, allocations: 0 / 0.9531 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.286e-05/0.2327, allocations: 0 / 0.9531 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.661e-05/0.2328, allocations: 7.922 kB / 0.9531 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.2331, allocations: 95.91 kB / 0.9532 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.012e-05/0.2332, allocations: 15.92 kB / 0.9532 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/0.2332, allocations: 4 kB / 0.9532 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.892e-05/0.2333, allocations: 7.938 kB / 0.9532 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.925e-05/0.2333, allocations: 8 kB / 0.9532 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.2333, allocations: 4 kB / 0.9532 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002942/0.2336, allocations: 152 kB / 0.9534 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.2336, allocations: 4 kB / 0.9534 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.2337, allocations: 7.938 kB / 0.9534 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.2338, allocations: 99.78 kB / 0.9535 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2339, allocations: 0 / 0.9535 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2339, allocations: 0 / 0.9535 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.2339, allocations: 0 / 0.9535 GB, free: 5.641 MB / 0.7325 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.0003157/0.2342, allocations: 339.4 kB / 0.9538 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.2342, allocations: 12.03 kB / 0.9538 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.2343, allocations: 4.938 kB / 0.9538 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.692e-05/0.2344, allocations: 164.4 kB / 0.954 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.2344, allocations: 4.359 kB / 0.954 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.2344, allocations: 4.125 kB / 0.954 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.861e-05/0.2345, allocations: 37.64 kB / 0.954 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.2345, allocations: 0 / 0.954 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.2345, allocations: 4 kB / 0.954 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.2345, allocations: 0 / 0.954 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.733e-05/0.2346, allocations: 11.92 kB / 0.954 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.2347, allocations: 161.7 kB / 0.9542 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.98e-05/0.2348, allocations: 30.58 kB / 0.9542 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.674e-05/0.2348, allocations: 16.86 kB / 0.9542 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001675/0.2365, allocations: 0.6572 MB / 0.9549 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.2365, allocations: 34.56 kB / 0.9549 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2365, allocations: 0 / 0.9549 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0001374/0.2367, allocations: 61.52 kB / 0.955 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.2367, allocations: 55.41 kB / 0.955 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.812e-05/0.2368, allocations: 93.86 kB / 0.9551 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.2368, allocations: 25.7 kB / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.603e-05/0.2368, allocations: 80.14 kB / 0.9552 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.2369, allocations: 11.89 kB / 0.9552 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.2369, allocations: 13.72 kB / 0.9552 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.035e-05/0.237, allocations: 310.8 kB / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.237, allocations: 8.125 kB / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.161e-05/0.2371, allocations: 11.94 kB / 0.9556 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.007e-05/0.2371, allocations: 24.78 kB / 0.9556 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2371, allocations: 0 / 0.9556 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.244e-05/0.2372, allocations: 49.62 kB / 0.9556 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.2372, allocations: 4 kB / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2372, allocations: 0 / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.2372, allocations: 0 / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.625e-05/0.2373, allocations: 4 kB / 0.9556 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.2373, allocations: 0 / 0.9556 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.382e-05/0.2373, allocations: 0 / 0.9556 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-06/0.2373, allocations: 8 kB / 0.9556 GB, free: 3.133 MB / 0.7325 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 5.662e-05/0.2374, allocations: 105.8 kB / 0.9557 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.2374, allocations: 3.938 kB / 0.9557 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.2375, allocations: 72.95 kB / 0.9558 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2375, allocations: 0 / 0.9558 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2375, allocations: 0 / 0.9558 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2375, allocations: 0 / 0.9558 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.431e-05/0.2376, allocations: 157.6 kB / 0.956 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2377, allocations: 4 kB / 0.956 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-05/0.2377, allocations: 4 kB / 0.956 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2377, allocations: 0 / 0.956 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.2377, allocations: 4 kB / 0.956 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2377, allocations: 0 / 0.956 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.2377, allocations: 4 kB / 0.956 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.088e-05/0.2378, allocations: 77 kB / 0.9561 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.2378, allocations: 81.05 kB / 0.9561 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.2379, allocations: 4 kB / 0.9561 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.272e-05/0.2379, allocations: 0 / 0.9561 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.068e-05/0.2379, allocations: 7.984 kB / 0.9561 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.2379, allocations: 432 / 0.9561 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.904e-05/0.2379, allocations: 79.28 kB / 0.9562 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2379, allocations: 0 / 0.9562 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002434/0.2382, allocations: 28 kB / 0.9562 GB, free: 2.406 MB / 0.7325 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.0002228/0.2384, allocations: 131.3 kB / 0.9564 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.879e-05/0.2385, allocations: 19.97 kB / 0.9564 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2385, allocations: 0 / 0.9564 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.888e-05/0.2385, allocations: 11.94 kB / 0.9564 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.2387, allocations: 7.922 kB / 0.9564 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002253/0.239, allocations: 114 kB / 0.9565 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.2392, allocations: 0.6729 MB / 0.9572 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.467e-05/0.2392, allocations: 3.938 kB / 0.9572 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.702e-05/0.2392, allocations: 11.44 kB / 0.9572 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.2392, allocations: 0 / 0.9572 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of Templates: time 0.00288/0.2421, allocations: 0.9004 MB / 0.9581 GB, free: 500 kB / 0.7325 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 -s gbode -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","/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