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.001299/0.001299, allocations: 101.1 kB / 19.71 MB, free: 2.152 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.001546/0.001546, allocations: 207.4 kB / 23 MB, free: 4.965 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.426/3.426, allocations: 0.49 GB / 0.7959 GB, free: 35.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 70.95 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4734/0.4755, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002933/0.4785, allocations: 1.313 MB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.48, allocations: 0.7173 MB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.471e-05/0.48, allocations: 4 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.214e-05/0.48, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.947e-05/0.4801, allocations: 3.938 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.4805, allocations: 99.89 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.14e-05/0.4806, allocations: 11.94 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.419e-05/0.4806, allocations: 7.938 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.7e-05/0.4807, allocations: 4 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.819e-05/0.4807, allocations: 7.984 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.4807, allocations: 4 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000363/0.4811, allocations: 152 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.4811, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.4811, allocations: 7.938 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.4814, allocations: 99.72 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.4814, allocations: 7.938 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4814, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.4814, allocations: 3.938 kB / 1.329 GB, free: 14.54 MB / 1.029 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.0004279/0.4818, allocations: 258.2 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.4819, allocations: 8.031 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.4819, allocations: 4.938 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.482, allocations: 110.5 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.4821, allocations: 4.375 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.4821, allocations: 4.375 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.4822, allocations: 34.02 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4822, allocations: 3.938 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-06/0.4822, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4822, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.267e-05/0.4823, allocations: 15.98 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.4824, allocations: 101.3 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.892e-05/0.4825, allocations: 34.55 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/0.4826, allocations: 16.92 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001701/0.4843, allocations: 364.5 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.4843, allocations: 30.56 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.4843, allocations: 4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001971/0.4845, allocations: 57.56 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.4845, allocations: 51.41 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.4847, allocations: 97.84 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.4847, allocations: 25.7 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.4848, allocations: 84.14 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.4848, allocations: 7.906 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.4848, allocations: 13.72 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.485, allocations: 322.8 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.485, allocations: 0 / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.205e-05/0.485, allocations: 8.125 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.4851, allocations: 17.14 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4851, allocations: 0 / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.161e-05/0.4852, allocations: 57.55 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.4852, allocations: 4 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4852, allocations: 0 / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.4853, allocations: 3.938 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.78e-05/0.4853, allocations: 8 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.4853, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.727e-05/0.4853, allocations: 3.984 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.4853, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 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 9.285e-05/0.4854, allocations: 114.4 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.265e-06/0.4854, allocations: 0 / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.4856, allocations: 65.19 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.4856, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.4856, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.4856, allocations: 7.953 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.4856, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.554e-05/0.4856, allocations: 3.984 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.4856, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001193/0.4858, allocations: 133 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001874/0.486, allocations: 222.7 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.407e-05/0.486, allocations: 4 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.595e-05/0.486, allocations: 83.27 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of Backend: time 5.61e-07/0.486, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005549/0.4866, allocations: 118.2 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of SimCode: time 0.000625/0.4872, allocations: 0.5538 MB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of Templates: time 0.004258/0.4915, allocations: 0.9656 MB / 1.333 GB, free: 10.31 MB / 1.029 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/jenkins1/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: 9.851038909000636]