Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000895/0.000895, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.0008516/0.0008516, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.9132/0.9132, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.727/1.727, allocations: 377.8 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.618e-05, allocations: 6.281 kB / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001776/0.001803, allocations: 1.318 MB / 0.9835 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009406/0.002743, allocations: 0.7209 MB / 0.9842 GB, free: 20 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.29e-05/0.002766, allocations: 0 / 0.9842 GB, free: 20 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.002786, allocations: 4 kB / 0.9842 GB, free: 16 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.121e-05/0.002847, allocations: 7.922 kB / 0.9842 GB, free: 8 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.003202, allocations: 92.03 kB / 0.9843 GB, free: 15.91 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 6.2e-05/0.003264, allocations: 23.86 kB / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.003308, allocations: 4 kB / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.611e-05/0.003344, allocations: 12 kB / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.623e-05/0.0034, allocations: 7.969 kB / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.003417, allocations: 4 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.003654, allocations: 140 kB / 0.9845 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.003667, allocations: 0 / 0.9845 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.759e-05/0.003684, allocations: 4 kB / 0.9845 GB, free: 15.72 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.003863, allocations: 135.6 kB / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003865, allocations: 0 / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.52e-07/0.003866, allocations: 0 / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.00387, allocations: 4 kB / 0.9846 GB, free: 15.59 MB / 0.948 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.000581/0.004451, allocations: 266.2 kB / 0.9849 GB, free: 15.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.004489, allocations: 8.031 kB / 0.9849 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.004521, allocations: 4.922 kB / 0.9849 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.087e-05/0.004602, allocations: 109.8 kB / 0.985 GB, free: 15.15 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.004613, allocations: 384 / 0.985 GB, free: 15.15 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.004622, allocations: 384 / 0.985 GB, free: 15.15 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.655e-05/0.004708, allocations: 38.27 kB / 0.985 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.004717, allocations: 4.172 kB / 0.985 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.004726, allocations: 384 / 0.985 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.004731, allocations: 7.938 kB / 0.985 GB, free: 15.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.761e-05/0.004769, allocations: 7.984 kB / 0.985 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000113/0.004882, allocations: 101.3 kB / 0.9851 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.626e-05/0.004958, allocations: 38.55 kB / 0.9852 GB, free: 14.91 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/0.004979, allocations: 8.922 kB / 0.9852 GB, free: 14.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008437/0.005823, allocations: 364.6 kB / 0.9855 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.005846, allocations: 34.55 kB / 0.9856 GB, free: 14.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.005847, allocations: 0 / 0.9856 GB, free: 14.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0001595/0.006006, allocations: 53.62 kB / 0.9856 GB, free: 14.45 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.00604, allocations: 55.34 kB / 0.9857 GB, free: 14.38 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.486e-05/0.006095, allocations: 97.8 kB / 0.9858 GB, free: 14.27 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.006107, allocations: 29.7 kB / 0.9858 GB, free: 14.24 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.163e-05/0.006129, allocations: 84.27 kB / 0.9859 GB, free: 14.15 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.00616, allocations: 7.891 kB / 0.9859 GB, free: 14.14 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.006185, allocations: 17.72 kB / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.081e-05/0.006266, allocations: 314.8 kB / 0.9862 GB, free: 13.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/0.006279, allocations: 4 kB / 0.9862 GB, free: 13.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.127e-05/0.00629, allocations: 4 kB / 0.9862 GB, free: 13.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.316e-05/0.006323, allocations: 16.86 kB / 0.9862 GB, free: 13.78 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.006326, allocations: 0 / 0.9862 GB, free: 13.78 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.33e-05/0.006379, allocations: 53.58 kB / 0.9863 GB, free: 13.72 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.006391, allocations: 4 kB / 0.9863 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.006396, allocations: 0 / 0.9863 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.006408, allocations: 4 kB / 0.9863 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.891e-05/0.006457, allocations: 7.984 kB / 0.9863 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.006463, allocations: 3.938 kB / 0.9863 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.799e-06/0.006473, allocations: 4 kB / 0.9863 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-06/0.006477, allocations: 0 / 0.9863 GB, free: 13.7 MB / 0.948 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.848e-05/0.006535, allocations: 113.8 kB / 0.9864 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-06/0.00654, allocations: 4 kB / 0.9864 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.728e-05/0.006627, allocations: 49.38 kB / 0.9865 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.006629, allocations: 0 / 0.9865 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.006637, allocations: 7.938 kB / 0.9865 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.00664, allocations: 0 / 0.9865 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.271e-05/0.006703, allocations: 109.2 kB / 0.9866 GB, free: 13.37 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.006704, allocations: 0 / 0.9866 GB, free: 13.37 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.253e-05/0.006716, allocations: 4 kB / 0.9866 GB, free: 13.37 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.006718, allocations: 4 kB / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.006725, allocations: 0 / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.006727, allocations: 4 kB / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.006728, allocations: 384 / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.021e-05/0.006788, allocations: 73.05 kB / 0.9867 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-06/0.006795, allocations: 7.953 kB / 0.9867 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.006805, allocations: 4 kB / 0.9867 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.522e-06/0.006811, allocations: 3.984 kB / 0.9867 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.006827, allocations: 0 / 0.9867 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.006831, allocations: 11.88 kB / 0.9867 GB, free: 13.24 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.745e-05/0.006859, allocations: 79.28 kB / 0.9868 GB, free: 13.16 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006859, allocations: 0 / 0.9868 GB, free: 13.16 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001655/0.007024, allocations: 27.94 kB / 0.9868 GB, free: 13.14 MB / 0.948 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.0001799/0.007204, allocations: 139.1 kB / 0.9869 GB, free: 12.99 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.977e-05/0.007274, allocations: 19.88 kB / 0.9869 GB, free: 12.98 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.007276, allocations: 0 / 0.9869 GB, free: 12.98 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.257e-06/0.007285, allocations: 7.984 kB / 0.9869 GB, free: 12.97 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.007427, allocations: 4 kB / 0.9869 GB, free: 12.96 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002395/0.007667, allocations: 137 kB / 0.9871 GB, free: 12.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.75e-05/0.007704, allocations: 59.3 kB / 0.9871 GB, free: 12.72 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.007724, allocations: 28.42 kB / 0.9872 GB, free: 12.7 MB / 0.948 GB Notification: Performance of SimCode: time 5.51e-07/0.007724, allocations: 0 / 0.9872 GB, free: 12.7 MB / 0.948 GB Notification: Performance of Templates: time 0.00175/0.009475, allocations: 0.9306 MB / 0.9881 GB, free: 11.77 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.001517068594694]