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.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.001702/0.001702, allocations: 110.6 kB / 17.08 MB, free: 6.012 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.002026/0.002026, allocations: 191.7 kB / 20.03 MB, free: 3.082 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.431/1.431, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.135/3.135, allocations: 489.3 MB / 0.7687 GB, free: 3.801 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.002808/0.002808, allocations: 67.89 kB / 1.103 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.126/1.129, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002726/1.131, allocations: 1.295 MB / 1.264 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001425/1.133, allocations: 0.7316 MB / 1.265 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.665e-05/1.133, allocations: 0 / 1.265 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.091e-05/1.133, allocations: 1.391 kB / 1.265 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.093e-05/1.133, allocations: 9.219 kB / 1.265 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004404/1.133, allocations: 94.14 kB / 1.265 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.05e-05/1.133, allocations: 13.83 kB / 1.265 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.012e-05/1.134, allocations: 2.906 kB / 1.265 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.748e-05/1.134, allocations: 8.328 kB / 1.265 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.721e-05/1.134, allocations: 12.98 kB / 1.265 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/1.134, allocations: 0.9375 kB / 1.265 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004378/1.134, allocations: 145 kB / 1.265 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/1.134, allocations: 1.391 kB / 1.265 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/1.134, allocations: 11.7 kB / 1.265 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002947/1.134, allocations: 108.5 kB / 1.265 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/1.135, allocations: 0 / 1.265 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.544e-06/1.135, allocations: 3.938 kB / 1.265 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.813e-06/1.135, allocations: 0.75 kB / 1.265 GB, free: 6.488 MB / 0.9981 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.0003948/1.135, allocations: 329.9 kB / 1.265 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/1.135, allocations: 13 kB / 1.265 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/1.135, allocations: 10.27 kB / 1.265 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/1.135, allocations: 162.9 kB / 1.265 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/1.135, allocations: 1.156 kB / 1.265 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/1.135, allocations: 5.812 kB / 1.265 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/1.135, allocations: 36.91 kB / 1.266 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.135, allocations: 0 / 1.266 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/1.135, allocations: 1.375 kB / 1.266 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/1.135, allocations: 0.75 kB / 1.266 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.178e-05/1.135, allocations: 12.19 kB / 1.266 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/1.136, allocations: 161.1 kB / 1.266 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/1.136, allocations: 36.03 kB / 1.266 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.113e-05/1.136, allocations: 10.75 kB / 1.266 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002037/1.138, allocations: 0.6573 MB / 1.266 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/1.138, allocations: 35.92 kB / 1.266 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/1.138, allocations: 1.094 kB / 1.266 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0001986/1.138, allocations: 50.03 kB / 1.266 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/1.138, allocations: 52.8 kB / 1.266 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.396e-05/1.138, allocations: 94.7 kB / 1.267 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/1.138, allocations: 25.7 kB / 1.267 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.269e-05/1.138, allocations: 88.83 kB / 1.267 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/1.138, allocations: 9.719 kB / 1.267 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/1.138, allocations: 14.34 kB / 1.267 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.898e-05/1.138, allocations: 316.1 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/1.138, allocations: 4.109 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.432e-05/1.138, allocations: 3.984 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.082e-05/1.139, allocations: 17.42 kB / 1.267 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/1.139, allocations: 0.7812 kB / 1.267 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.449e-05/1.139, allocations: 56.11 kB / 1.267 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/1.139, allocations: 13.36 kB / 1.267 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/1.139, allocations: 0.875 kB / 1.267 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/1.139, allocations: 0 / 1.267 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.319e-05/1.139, allocations: 5.766 kB / 1.267 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.139, allocations: 0.7812 kB / 1.267 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.539e-05/1.139, allocations: 0.75 kB / 1.267 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/1.139, allocations: 1.438 kB / 1.267 GB, free: 4.457 MB / 0.9981 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.666e-05/1.139, allocations: 111.8 kB / 1.267 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.878e-06/1.139, allocations: 6 kB / 1.267 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/1.139, allocations: 62.48 kB / 1.267 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/1.139, allocations: 0.6875 kB / 1.267 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/1.139, allocations: 4 kB / 1.267 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/1.139, allocations: 1.297 kB / 1.267 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.148e-05/1.139, allocations: 157.1 kB / 1.267 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/1.139, allocations: 0 / 1.267 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.636e-05/1.139, allocations: 5.516 kB / 1.267 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/1.139, allocations: 4.812 kB / 1.267 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/1.139, allocations: 1.609 kB / 1.267 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.139, allocations: 4 kB / 1.267 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.139, allocations: 0.8125 kB / 1.267 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.273e-05/1.139, allocations: 65.11 kB / 1.268 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.386e-05/1.139, allocations: 86.45 kB / 1.268 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/1.139, allocations: 1.578 kB / 1.268 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.309e-05/1.139, allocations: 1.375 kB / 1.268 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/1.139, allocations: 14.3 kB / 1.268 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/1.139, allocations: 0.875 kB / 1.268 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.316e-05/1.139, allocations: 81.78 kB / 1.268 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/1.139, allocations: 0 / 1.268 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002984/1.14, allocations: 27.45 kB / 1.268 GB, free: 3.816 MB / 0.9981 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.0002726/1.14, allocations: 125.8 kB / 1.268 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001091/1.14, allocations: 20.42 kB / 1.268 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.14, allocations: 0 / 1.268 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.112e-05/1.14, allocations: 8.078 kB / 1.268 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/1.14, allocations: 10.09 kB / 1.268 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002954/1.141, allocations: 138.8 kB / 1.268 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/1.141, allocations: 0.6743 MB / 1.269 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.137e-05/1.141, allocations: 9.625 kB / 1.269 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of SimCode: time 1.263e-06/1.141, allocations: 4.75 kB / 1.269 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of Templates: time 0.003973/1.145, allocations: 0.919 MB / 1.27 GB, free: 2.781 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.084865526063368]