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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000991/0.000991, allocations: 92.16 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 223.3 MB / 240 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.701/2.701, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003194, allocations: 9.844 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2449, allocations: 159.6 MB / 1.058 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001134/0.2461, allocations: 1.002 MB / 1.059 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009686/0.2471, allocations: 0.7096 MB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.302e-05/0.2471, allocations: 0 / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.154e-05/0.2471, allocations: 4 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.865e-05/0.2472, allocations: 11.92 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.2474, allocations: 63.77 kB / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.576e-05/0.2475, allocations: 19.92 kB / 1.06 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.874e-05/0.2475, allocations: 7.984 kB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.56e-05/0.2475, allocations: 0 / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.401e-05/0.2476, allocations: 7.938 kB / 1.06 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.2476, allocations: 4 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002944/0.2479, allocations: 159.8 kB / 1.06 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.613e-06/0.2479, allocations: 0 / 1.06 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.2479, allocations: 25.7 kB / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.2481, allocations: 72.17 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2481, allocations: 0 / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2481, allocations: 0 / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.816e-06/0.2481, allocations: 3.938 kB / 1.06 GB, free: 3.172 MB / 0.8106 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.0002646/0.2484, allocations: 331.3 kB / 1.06 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.2484, allocations: 8.031 kB / 1.06 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.368e-05/0.2484, allocations: 4 kB / 1.06 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.113e-05/0.2485, allocations: 167 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.2485, allocations: 3.938 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-06/0.2486, allocations: 0 / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.111e-05/0.2486, allocations: 41.69 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/0.2487, allocations: 0 / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.2487, allocations: 0 / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2487, allocations: 0 / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.507e-05/0.2487, allocations: 4 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.2489, allocations: 157.6 kB / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.717e-05/0.2489, allocations: 46.5 kB / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.493e-05/0.249, allocations: 12.92 kB / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002224/0.2512, allocations: 1.031 MB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.2512, allocations: 34.56 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.2512, allocations: 0 / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000133/0.2514, allocations: 57.53 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.2514, allocations: 55.41 kB / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.337e-05/0.2515, allocations: 93.84 kB / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.2515, allocations: 25.7 kB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.541e-05/0.2515, allocations: 84.14 kB / 1.062 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.2516, allocations: 7.906 kB / 1.062 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.2516, allocations: 0 / 1.062 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.621e-05/0.2517, allocations: 315 kB / 1.062 GB, free: 448 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/0.2517, allocations: 4 kB / 1.062 GB, free: 444 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.394e-05/0.2517, allocations: 7.984 kB / 1.062 GB, free: 436 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.974e-05/0.2517, allocations: 8 kB / 1.062 GB, free: 428 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2517, allocations: 0 / 1.062 GB, free: 428 kB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.794e-05/0.2518, allocations: 45.64 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.2518, allocations: 9.562 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2518, allocations: 3.984 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.2518, allocations: 4.266 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.46e-05/0.2519, allocations: 8 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.2519, allocations: 0 / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.387e-05/0.2519, allocations: 0 / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.2519, allocations: 4 kB / 1.063 GB, free: 348 kB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.555e-05/0.252, allocations: 105.8 kB / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.252, allocations: 7.938 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.2521, allocations: 65.02 kB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2521, allocations: 7.938 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2522, allocations: 4 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2522, allocations: 0 / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.2523, allocations: 153.7 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2523, allocations: 4 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.727e-05/0.2523, allocations: 7.938 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2523, allocations: 3.953 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.2523, allocations: 4 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2523, allocations: 0 / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2523, allocations: 4 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.659e-05/0.2524, allocations: 69.12 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.924e-05/0.2525, allocations: 77.11 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.2525, allocations: 3.953 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.673e-05/0.2525, allocations: 0 / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.2525, allocations: 7.984 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.2525, allocations: 0 / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.664e-05/0.2526, allocations: 79.28 kB / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2526, allocations: 0 / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000229/0.2528, allocations: 32.03 kB / 1.063 GB, free: 15.61 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002232/0.253, allocations: 127.2 kB / 1.063 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.849e-05/0.2531, allocations: 19.98 kB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2531, allocations: 0 / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.36e-05/0.2531, allocations: 4 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.2533, allocations: 11.94 kB / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002081/0.2535, allocations: 110.6 kB / 1.063 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.2537, allocations: 0.6809 MB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.84e-05/0.2538, allocations: 7.938 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.463e-05/0.2538, allocations: 11.44 kB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2538, allocations: 4 kB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of Templates: time 0.002869/0.2567, allocations: 0.8649 MB / 1.065 GB, free: 13.72 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches