Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_9_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_9_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.001316/0.001316, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001416/0.001416, allocations: 198 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.397/2.397, allocations: 390.2 MB / 0.6643 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 60.14 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6274/0.6288, allocations: 140.4 MB / 0.9491 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002108/0.6309, allocations: 1.342 MB / 0.9504 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009005/0.6318, allocations: 0.7336 MB / 0.9511 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.589e-05/0.6318, allocations: 0 / 0.9511 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.6319, allocations: 0 / 0.9511 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.085e-05/0.6319, allocations: 9.25 kB / 0.9511 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.6322, allocations: 84.2 kB / 0.9512 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.107e-05/0.6323, allocations: 16.09 kB / 0.9512 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.384e-05/0.6323, allocations: 1.375 kB / 0.9512 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.946e-05/0.6324, allocations: 8.062 kB / 0.9513 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.459e-05/0.6324, allocations: 10.67 kB / 0.9513 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.6324, allocations: 1.375 kB / 0.9513 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002843/0.6327, allocations: 151.1 kB / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.6327, allocations: 1.375 kB / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.946e-05/0.6328, allocations: 18.62 kB / 0.9514 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.6329, allocations: 104.1 kB / 0.9515 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.6329, allocations: 0 / 0.9515 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/0.633, allocations: 0 / 0.9515 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.633, allocations: 0 / 0.9515 GB, free: 7.324 MB / 0.7169 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.0002551/0.6332, allocations: 339 kB / 0.9518 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.6333, allocations: 11.89 kB / 0.9519 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.6333, allocations: 2.281 kB / 0.9519 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.87e-05/0.6334, allocations: 161.7 kB / 0.952 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.6334, allocations: 6.031 kB / 0.952 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.6334, allocations: 8.109 kB / 0.952 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.084e-05/0.6335, allocations: 39.03 kB / 0.9521 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.6335, allocations: 0 / 0.9521 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.6335, allocations: 0 / 0.9521 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.6335, allocations: 1.625 kB / 0.9521 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.618e-05/0.6336, allocations: 9.562 kB / 0.9521 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001033/0.6337, allocations: 153.1 kB / 0.9522 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.12e-05/0.6337, allocations: 37.98 kB / 0.9523 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.41e-05/0.6338, allocations: 17.98 kB / 0.9523 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001621/0.6354, allocations: 0.6524 MB / 0.9529 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.6354, allocations: 31.72 kB / 0.9529 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.6354, allocations: 0 / 0.9529 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001299/0.6356, allocations: 52.19 kB / 0.953 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.6356, allocations: 51.41 kB / 0.953 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.021e-05/0.6356, allocations: 100.5 kB / 0.9531 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.78e-06/0.6357, allocations: 25.7 kB / 0.9532 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.258e-05/0.6357, allocations: 85.61 kB / 0.9532 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.6357, allocations: 16.98 kB / 0.9533 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.6357, allocations: 16.81 kB / 0.9533 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.873e-05/0.6358, allocations: 312.2 kB / 0.9536 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.416e-05/0.6358, allocations: 6.734 kB / 0.9536 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.142e-05/0.6358, allocations: 6.281 kB / 0.9536 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.997e-05/0.6358, allocations: 12.23 kB / 0.9536 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6359, allocations: 5.062 kB / 0.9536 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.81e-05/0.6359, allocations: 57.03 kB / 0.9537 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.6359, allocations: 4.438 kB / 0.9537 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.6359, allocations: 0 / 0.9537 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.636, allocations: 1.125 kB / 0.9537 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.677e-05/0.636, allocations: 8.969 kB / 0.9537 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.636, allocations: 0 / 0.9537 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/0.636, allocations: 5.281 kB / 0.9537 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.636, allocations: 0 / 0.9537 GB, free: 5.164 MB / 0.7169 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 4.035e-05/0.6361, allocations: 116.4 kB / 0.9538 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-06/0.6361, allocations: 9.188 kB / 0.9538 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.789e-05/0.6362, allocations: 54.11 kB / 0.9538 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.6362, allocations: 4.031 kB / 0.9539 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.6362, allocations: 0 / 0.9539 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.6362, allocations: 1.469 kB / 0.9539 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.428e-05/0.6363, allocations: 157.3 kB / 0.954 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.6363, allocations: 0 / 0.954 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-05/0.6363, allocations: 5.406 kB / 0.954 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.6363, allocations: 0 / 0.954 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.6363, allocations: 5.312 kB / 0.954 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6363, allocations: 0 / 0.954 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.6363, allocations: 0 / 0.954 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.593e-05/0.6364, allocations: 81.47 kB / 0.9541 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.627e-05/0.6364, allocations: 82.44 kB / 0.9542 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.6365, allocations: 0 / 0.9542 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.204e-05/0.6365, allocations: 1.281 kB / 0.9542 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.6365, allocations: 1.312 kB / 0.9542 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.6365, allocations: 5.406 kB / 0.9542 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.5e-05/0.6365, allocations: 76.69 kB / 0.9543 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6365, allocations: 0 / 0.9543 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002375/0.6368, allocations: 39.33 kB / 0.9543 GB, free: 4.5 MB / 0.7169 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.0002155/0.637, allocations: 120.5 kB / 0.9544 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.844e-05/0.6371, allocations: 17.22 kB / 0.9544 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6371, allocations: 1.406 kB / 0.9544 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.576e-05/0.6371, allocations: 17.11 kB / 0.9544 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.6373, allocations: 13.16 kB / 0.9544 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002027/0.6375, allocations: 110.2 kB / 0.9546 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.191e-05/0.6376, allocations: 0.6775 MB / 0.9552 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.666e-05/0.6376, allocations: 6.906 kB / 0.9552 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.352e-05/0.6376, allocations: 8.844 kB / 0.9552 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6376, allocations: 0 / 0.9552 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of Templates: time 0.002778/0.6404, allocations: 0.8955 MB / 0.9561 GB, free: 3.09 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches