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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9296/0.9296, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.298/2.298, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204e-05/1.328e-05, allocations: 6.312 kB / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001665/0.001678, allocations: 1.396 MB / 0.84 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009473/0.002625, allocations: 0.7636 MB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.196e-05/0.002647, allocations: 0 / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.002666, allocations: 3.984 kB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.342e-05/0.002719, allocations: 0 / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.002995, allocations: 91.78 kB / 0.8409 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.755e-05/0.003043, allocations: 15.92 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.51e-05/0.003078, allocations: 4 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.292e-05/0.003111, allocations: 7.984 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.621e-05/0.003157, allocations: 19.92 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.003168, allocations: 0 / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.003416, allocations: 144.1 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.003428, allocations: 4 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.097e-05/0.003439, allocations: 0 / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.003606, allocations: 135.6 kB / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.003607, allocations: 4 kB / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.42e-07/0.003608, allocations: 0 / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.003611, allocations: 0 / 0.8412 GB, free: 11.52 MB / 0.8073 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.0002157/0.003827, allocations: 232.8 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.003861, allocations: 12.03 kB / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.282e-05/0.003884, allocations: 4.938 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.547e-05/0.003959, allocations: 109.7 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.003968, allocations: 384 / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.24e-06/0.003973, allocations: 384 / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.866e-05/0.004032, allocations: 41.81 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.004038, allocations: 0 / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-06/0.004044, allocations: 0 / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.004049, allocations: 0 / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.773e-05/0.004067, allocations: 7.984 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.885e-05/0.004145, allocations: 57.05 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.654e-05/0.004202, allocations: 34.5 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.627e-05/0.004218, allocations: 16.89 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007094/0.004928, allocations: 308.6 kB / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.004953, allocations: 42.55 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.004954, allocations: 0 / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 9.62e-05/0.00505, allocations: 49.61 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.00508, allocations: 55.34 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.547e-05/0.005125, allocations: 102.7 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.005134, allocations: 25.7 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.03e-05/0.005154, allocations: 84.12 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.005176, allocations: 11.91 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.972e-05/0.005196, allocations: 9.719 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.948e-05/0.005265, allocations: 318.8 kB / 0.8426 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.1e-06/0.00527, allocations: 0 / 0.8426 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.575e-06/0.005278, allocations: 4 kB / 0.8426 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.054e-05/0.005298, allocations: 16.84 kB / 0.8427 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.0053, allocations: 0 / 0.8427 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.917e-05/0.005339, allocations: 37.7 kB / 0.8427 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.00535, allocations: 18.09 kB / 0.8427 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.005354, allocations: 0 / 0.8427 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.005367, allocations: 11.86 kB / 0.8427 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.416e-05/0.005401, allocations: 4 kB / 0.8427 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.005403, allocations: 0 / 0.8427 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.946e-06/0.005412, allocations: 0 / 0.8427 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-06/0.005415, allocations: 0 / 0.8427 GB, free: 9.785 MB / 0.8073 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 4.398e-05/0.005459, allocations: 113.8 kB / 0.8428 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-06/0.005464, allocations: 0 / 0.8428 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.281e-05/0.005527, allocations: 45.38 kB / 0.8429 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.005529, allocations: 7.938 kB / 0.8429 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.005532, allocations: 3.984 kB / 0.8429 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.005534, allocations: 4 kB / 0.8429 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.764e-05/0.005582, allocations: 61.91 kB / 0.8429 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.005583, allocations: 0 / 0.8429 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.156e-05/0.005595, allocations: 7.938 kB / 0.843 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-07/0.005595, allocations: 0 / 0.843 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-06/0.005598, allocations: 0 / 0.843 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.005599, allocations: 0 / 0.843 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.005599, allocations: 0 / 0.843 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.678e-05/0.005646, allocations: 69.06 kB / 0.843 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-06/0.005652, allocations: 7.984 kB / 0.843 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.715e-06/0.00566, allocations: 0 / 0.843 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.28e-06/0.005665, allocations: 4 kB / 0.843 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.438e-06/0.005674, allocations: 0 / 0.843 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.005678, allocations: 3.938 kB / 0.843 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.096e-06/0.005686, allocations: 8.859 kB / 0.843 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005686, allocations: 0 / 0.843 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001255/0.005812, allocations: 31.86 kB / 0.8431 GB, free: 9.367 MB / 0.8073 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.0001486/0.00596, allocations: 116.8 kB / 0.8432 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.925e-05/0.006009, allocations: 20.83 kB / 0.8432 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.006011, allocations: 0 / 0.8432 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.205e-06/0.00602, allocations: 8.859 kB / 0.8432 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.318e-05/0.006113, allocations: 11.2 kB / 0.8432 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.006446, allocations: 128.7 kB / 0.8433 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.288e-05/0.006479, allocations: 59.28 kB / 0.8434 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.588e-05/0.006505, allocations: 7.938 kB / 0.8434 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.006544, allocations: 51.38 kB / 0.8435 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of SimCode: time 8.72e-07/0.006545, allocations: 0 / 0.8435 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of Templates: time 0.002314/0.008859, allocations: 1.06 MB / 0.8445 GB, free: 7.867 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile [Timeout 300] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.87206761026755]