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.001307/0.001307, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.00135/0.00135, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.208/2.208, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 67.91 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.843/0.8444, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002104/0.8466, allocations: 1.28 MB / 1.09 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.8476, allocations: 0.7429 MB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.812e-05/0.8477, allocations: 1.312 kB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.939e-05/0.8477, allocations: 0.5156 kB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.593e-05/0.8477, allocations: 4.828 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.8481, allocations: 87.42 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.701e-05/0.8481, allocations: 21.95 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.4e-05/0.8482, allocations: 2.172 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.187e-05/0.8482, allocations: 4.719 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.315e-05/0.8483, allocations: 12.5 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.8483, allocations: 0.7812 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003247/0.8486, allocations: 148.4 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/0.8487, allocations: 2.156 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.8487, allocations: 15.69 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.8489, allocations: 97.34 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.8489, allocations: 1.031 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8489, allocations: 0 / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.8489, allocations: 0 / 1.091 GB, free: 3.992 MB / 0.8575 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.0002779/0.8492, allocations: 342.6 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.8493, allocations: 12.69 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.8493, allocations: 2.125 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.853e-05/0.8494, allocations: 166.5 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-06/0.8494, allocations: 0.9375 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.8494, allocations: 6.344 kB / 1.092 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.987e-05/0.8495, allocations: 40.38 kB / 1.092 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.8495, allocations: 0 / 1.092 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-06/0.8495, allocations: 0 / 1.092 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.8495, allocations: 1.672 kB / 1.092 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.782e-05/0.8496, allocations: 15.98 kB / 1.092 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.8497, allocations: 154.3 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.533e-05/0.8497, allocations: 36.09 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.654e-05/0.8498, allocations: 11.47 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001764/0.8516, allocations: 0.6575 MB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.246e-05/0.8516, allocations: 31.88 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.8516, allocations: 0 / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001402/0.8517, allocations: 51.11 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.489e-05/0.8517, allocations: 56.53 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.339e-05/0.8518, allocations: 101.8 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.8518, allocations: 26.3 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.236e-05/0.8518, allocations: 80.67 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.8519, allocations: 10.27 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.8519, allocations: 17.52 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.994e-05/0.8519, allocations: 312.8 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.852, allocations: 8.188 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.16e-05/0.852, allocations: 3.766 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.378e-05/0.852, allocations: 21.52 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.852, allocations: 4 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.57e-05/0.8521, allocations: 48.77 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.8521, allocations: 5.125 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.8521, allocations: 0 / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.8521, allocations: 1.688 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.142e-05/0.8522, allocations: 4.281 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.8522, allocations: 1.406 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.429e-05/0.8522, allocations: 4.812 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.8522, allocations: 5.344 kB / 1.093 GB, free: 1.953 MB / 0.8575 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.892e-05/0.8523, allocations: 116.2 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.8523, allocations: 8.625 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.8524, allocations: 54.73 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.8524, allocations: 1.219 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.8524, allocations: 0.75 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.396e-05/0.8525, allocations: 78.7 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.8525, allocations: 4.938 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.504e-05/0.8525, allocations: 5.547 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.8525, allocations: 6.234 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.121e-05/0.8526, allocations: 122.6 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 8.964e-05/0.8527, allocations: 216.4 kB / 1.094 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.055e-05/0.8527, allocations: 5.328 kB / 1.094 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.695e-05/0.8527, allocations: 85.17 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of Backend: time 3.3e-07/0.8527, allocations: 0.75 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004629/0.8532, allocations: 116.2 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of SimCode: time 0.000288/0.8535, allocations: 0.5513 MB / 1.094 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of Templates: time 0.00327/0.8568, allocations: 0.9187 MB / 1.095 GB, free: 0.4922 MB / 0.8575 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/jenkins1/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