Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 192.7 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.682/2.682, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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=2500,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 63.89 kB / 1.061 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8475/0.8496, allocations: 160.8 MB / 1.218 GB, free: 3.719 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002708/0.8523, allocations: 1.3 MB / 1.22 GB, free: 2.695 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.8538, allocations: 0.7446 MB / 1.22 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.406e-05/0.8538, allocations: 0 / 1.22 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.214e-05/0.8538, allocations: 5.156 kB / 1.22 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.298e-05/0.8539, allocations: 3.938 kB / 1.22 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.8543, allocations: 101 kB / 1.221 GB, free: 2.035 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.399e-05/0.8543, allocations: 20.09 kB / 1.221 GB, free: 2.023 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.973e-05/0.8544, allocations: 1.156 kB / 1.221 GB, free: 2.023 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.596e-05/0.8544, allocations: 7.516 kB / 1.221 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.854e-05/0.8545, allocations: 7.938 kB / 1.221 GB, free: 2.016 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.8545, allocations: 5.625 kB / 1.221 GB, free: 2.012 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003527/0.8548, allocations: 143.4 kB / 1.221 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.8548, allocations: 3.984 kB / 1.221 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.8549, allocations: 4.031 kB / 1.221 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.8551, allocations: 107.9 kB / 1.221 GB, free: 1.875 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.8551, allocations: 0 / 1.221 GB, free: 1.875 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.432e-06/0.8551, allocations: 0 / 1.221 GB, free: 1.875 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.8551, allocations: 8.984 kB / 1.221 GB, free: 1.867 MB / 0.92 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.0004325/0.8556, allocations: 332.7 kB / 1.221 GB, free: 1.504 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.8556, allocations: 9.906 kB / 1.221 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.8556, allocations: 9.844 kB / 1.221 GB, free: 1.496 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.8558, allocations: 161.4 kB / 1.221 GB, free: 1.301 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.8558, allocations: 1.469 kB / 1.221 GB, free: 1.301 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.8558, allocations: 1.5 kB / 1.221 GB, free: 1.301 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.8559, allocations: 42.19 kB / 1.221 GB, free: 1.258 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.8559, allocations: 4 kB / 1.221 GB, free: 1.254 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.8559, allocations: 1.188 kB / 1.221 GB, free: 1.254 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.8559, allocations: 0 / 1.221 GB, free: 1.254 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.194e-05/0.856, allocations: 10.84 kB / 1.221 GB, free: 1.25 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002005/0.8562, allocations: 160.5 kB / 1.222 GB, free: 1.047 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.46e-05/0.8563, allocations: 37.97 kB / 1.222 GB, free: 1.012 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.101e-05/0.8563, allocations: 13.2 kB / 1.222 GB, free: 1 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001863/0.8582, allocations: 0.6557 MB / 1.222 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.8582, allocations: 39.47 kB / 1.222 GB, free: 460 kB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.8582, allocations: 5.031 kB / 1.222 GB, free: 456 kB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0001746/0.8584, allocations: 46.97 kB / 1.222 GB, free: 416 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.8584, allocations: 51.41 kB / 1.222 GB, free: 352 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.324e-05/0.8585, allocations: 96.88 kB / 1.223 GB, free: 248 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.8585, allocations: 25.7 kB / 1.223 GB, free: 216 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.8586, allocations: 85.61 kB / 1.223 GB, free: 128 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.8586, allocations: 5.266 kB / 1.223 GB, free: 124 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.8586, allocations: 16.47 kB / 1.223 GB, free: 104 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.8588, allocations: 320.1 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.91e-05/0.8588, allocations: 6.188 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.155e-05/0.8588, allocations: 3.719 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.63e-05/0.8589, allocations: 15.58 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8589, allocations: 1.344 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.466e-05/0.8589, allocations: 44.38 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.859, allocations: 9.469 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.859, allocations: 0 / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.859, allocations: 5.094 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.229e-05/0.859, allocations: 4.438 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.859, allocations: 0 / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.68e-05/0.8591, allocations: 8.984 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.8591, allocations: 5.141 kB / 1.223 GB, free: 15.71 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.164e-05/0.8591, allocations: 110.8 kB / 1.223 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.8592, allocations: 6.156 kB / 1.223 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.8593, allocations: 56.81 kB / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.8593, allocations: 5.125 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.8593, allocations: 0 / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.8593, allocations: 0.9688 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.8594, allocations: 157.8 kB / 1.223 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.8594, allocations: 0 / 1.223 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.42e-05/0.8595, allocations: 4.125 kB / 1.223 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.8595, allocations: 4.969 kB / 1.223 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.8595, allocations: 1.062 kB / 1.223 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.8595, allocations: 0 / 1.223 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.8595, allocations: 5.062 kB / 1.223 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.916e-05/0.8596, allocations: 73.03 kB / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.8596, allocations: 86.58 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.8596, allocations: 8.609 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.223e-05/0.8597, allocations: 0 / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.8597, allocations: 1.5 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.8597, allocations: 5.656 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.83e-05/0.8597, allocations: 76.34 kB / 1.224 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8597, allocations: 5.188 kB / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002658/0.86, allocations: 29.67 kB / 1.224 GB, free: 15.05 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.0002536/0.8602, allocations: 131.1 kB / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.846e-05/0.8603, allocations: 17.31 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8603, allocations: 0 / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.709e-05/0.8604, allocations: 13.23 kB / 1.224 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.8605, allocations: 7.328 kB / 1.224 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002812/0.8608, allocations: 113 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.8612, allocations: 0.6764 MB / 1.225 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.692e-05/0.8612, allocations: 7.031 kB / 1.225 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/0.8612, allocations: 9.844 kB / 1.225 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of SimCode: time 3.4e-07/0.8612, allocations: 4 kB / 1.225 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of Templates: time 0.003673/0.8649, allocations: 0.9132 MB / 1.225 GB, free: 13.62 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.656377489678562]