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.001785/0.001785, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002229/0.002229, allocations: 158.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.546/1.546, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.937/2.937, allocations: 377.8 MB / 0.6221 GB, free: 12.65 MB / 0.5919 GB " [Timeout remaining time 176] 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.824e-06/1.824e-06, allocations: 0 / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.833e-05/3.016e-05, allocations: 6.219 kB / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002454/0.002484, allocations: 1.306 MB / 0.9827 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.003916, allocations: 0.7248 MB / 0.9834 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.442e-05/0.00394, allocations: 0 / 0.9834 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/0.003958, allocations: 0 / 0.9834 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.607e-05/0.004024, allocations: 7.922 kB / 0.9834 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.004411, allocations: 99.84 kB / 0.9835 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.284e-05/0.004474, allocations: 15.92 kB / 0.9836 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.669e-05/0.004521, allocations: 7.984 kB / 0.9836 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.525e-05/0.004556, allocations: 8 kB / 0.9836 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.715e-05/0.004613, allocations: 7.938 kB / 0.9836 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.00463, allocations: 0 / 0.9836 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003591/0.004989, allocations: 151.9 kB / 0.9837 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.005005, allocations: 0 / 0.9837 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.005032, allocations: 4 kB / 0.9837 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.005281, allocations: 127.7 kB / 0.9838 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005283, allocations: 0 / 0.9838 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.785e-06/0.005286, allocations: 4 kB / 0.9838 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.00529, allocations: 3.938 kB / 0.9839 GB, free: 9.531 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.000392/0.005682, allocations: 258.2 kB / 0.9841 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.005728, allocations: 12.03 kB / 0.9841 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.005764, allocations: 0.9375 kB / 0.9841 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.005871, allocations: 109.7 kB / 0.9842 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.005884, allocations: 4.375 kB / 0.9842 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.005892, allocations: 384 / 0.9842 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.006, allocations: 42.25 kB / 0.9843 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.006008, allocations: 192 / 0.9843 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.006017, allocations: 384 / 0.9843 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.006025, allocations: 3.938 kB / 0.9843 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.708e-05/0.006072, allocations: 15.92 kB / 0.9843 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.006227, allocations: 101.3 kB / 0.9844 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.752e-05/0.006324, allocations: 34.67 kB / 0.9844 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.89e-05/0.006353, allocations: 8.859 kB / 0.9844 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001756/0.008109, allocations: 364.6 kB / 0.9848 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.008143, allocations: 34.56 kB / 0.9848 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.008144, allocations: 0 / 0.9848 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0001706/0.008314, allocations: 49.62 kB / 0.9848 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.008367, allocations: 59.34 kB / 0.9849 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.344e-05/0.00845, allocations: 101.8 kB / 0.985 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.008468, allocations: 25.7 kB / 0.985 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.008511, allocations: 80.14 kB / 0.9851 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.008551, allocations: 11.89 kB / 0.9851 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.008587, allocations: 17.72 kB / 0.9851 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.008735, allocations: 310.8 kB / 0.9854 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.091e-05/0.008756, allocations: 11.98 kB / 0.9854 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.898e-06/0.008766, allocations: 0 / 0.9854 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.516e-05/0.008811, allocations: 20.8 kB / 0.9855 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.008812, allocations: 4.062 kB / 0.9855 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.231e-05/0.008895, allocations: 53.64 kB / 0.9855 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.00891, allocations: 4 kB / 0.9855 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.008914, allocations: 7.938 kB / 0.9855 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.008927, allocations: 0 / 0.9855 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.389e-05/0.008981, allocations: 4 kB / 0.9855 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.00899, allocations: 7.922 kB / 0.9855 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.424e-05/0.009004, allocations: 0 / 0.9855 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.009009, allocations: 0 / 0.9855 GB, free: 7.637 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 8.496e-05/0.009094, allocations: 117.8 kB / 0.9856 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-06/0.009102, allocations: 0 / 0.9856 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.00922, allocations: 57.64 kB / 0.9857 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.009226, allocations: 4 kB / 0.9857 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.009231, allocations: 3.938 kB / 0.9857 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.009234, allocations: 48 / 0.9857 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.889e-05/0.009333, allocations: 113.3 kB / 0.9858 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.009334, allocations: 0 / 0.9858 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.514e-05/0.009359, allocations: 4 kB / 0.9858 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.009361, allocations: 0 / 0.9858 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.009368, allocations: 0 / 0.9858 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.009369, allocations: 0 / 0.9858 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.009373, allocations: 8 kB / 0.9858 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.009474, allocations: 77.03 kB / 0.9859 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-06/0.009482, allocations: 3.953 kB / 0.9859 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.009492, allocations: 0 / 0.9859 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.233e-05/0.009505, allocations: 4 kB / 0.9859 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.009522, allocations: 7.984 kB / 0.9859 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.009526, allocations: 3.938 kB / 0.9859 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.609e-05/0.009572, allocations: 79.28 kB / 0.986 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009572, allocations: 0 / 0.986 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002296/0.009802, allocations: 23.94 kB / 0.986 GB, free: 7.074 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.0002486/0.01005, allocations: 131.2 kB / 0.9861 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.402e-05/0.01013, allocations: 19.92 kB / 0.9862 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01014, allocations: 0 / 0.9862 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.248e-05/0.01016, allocations: 11.94 kB / 0.9862 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.01035, allocations: 7.922 kB / 0.9862 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.01064, allocations: 118.8 kB / 0.9863 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.448e-05/0.0107, allocations: 59.3 kB / 0.9864 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.336e-05/0.01072, allocations: 0 / 0.9864 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/0.01074, allocations: 12.5 kB / 0.9864 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/0.01074, allocations: 0 / 0.9864 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of Templates: time 0.003812/0.01455, allocations: 0.9231 MB / 0.9873 GB, free: 5.762 MB / 0.9356 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: 8.570355899631977]