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.001735/0.001735, allocations: 105 kB / 16.41 MB, free: 6.465 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.002062/0.002062, allocations: 187 kB / 17.34 MB, free: 5.719 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.439/1.439, allocations: 222.9 MB / 241 MB, free: 15.1 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.315/2.315, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001519, allocations: 63.91 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8123/0.8138, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002433/0.8163, allocations: 1.293 MB / 1.09 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.8175, allocations: 0.7348 MB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.271e-05/0.8175, allocations: 0 / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.709e-05/0.8176, allocations: 0.5625 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.087e-05/0.8176, allocations: 10.17 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.818, allocations: 85.88 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.923e-05/0.8181, allocations: 21.7 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.661e-05/0.8181, allocations: 3.25 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.112e-05/0.8182, allocations: 3.25 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.181e-05/0.8182, allocations: 13.92 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.8182, allocations: 0.9688 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000351/0.8186, allocations: 140.1 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.144e-05/0.8186, allocations: 9.406 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.8186, allocations: 12.27 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.8189, allocations: 98.12 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.8189, allocations: 0 / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8189, allocations: 1.188 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.8189, allocations: 0 / 1.091 GB, free: 3.977 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.000274/0.8192, allocations: 341.4 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.8192, allocations: 14.02 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/0.8192, allocations: 2.094 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.086e-05/0.8193, allocations: 166.6 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.8193, allocations: 8.312 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.8193, allocations: 6.438 kB / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.802e-05/0.8194, allocations: 39.7 kB / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.8195, allocations: 0 / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.8195, allocations: 1.672 kB / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.8195, allocations: 0 / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.138e-05/0.8195, allocations: 8.953 kB / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.8197, allocations: 153.6 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.91e-05/0.8198, allocations: 45.2 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/0.8198, allocations: 14.05 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001864/0.8217, allocations: 0.6544 MB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.8217, allocations: 31.94 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.8217, allocations: 0 / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001604/0.8219, allocations: 50.48 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.8219, allocations: 52.8 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.464e-05/0.822, allocations: 93.59 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.405e-06/0.822, allocations: 26.94 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.63e-05/0.822, allocations: 84.95 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.822, allocations: 17.33 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.8221, allocations: 14.69 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.597e-05/0.8221, allocations: 312.3 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.755e-05/0.8221, allocations: 7.5 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.792e-05/0.8222, allocations: 4.859 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.583e-05/0.8222, allocations: 16.75 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.8222, allocations: 1.062 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.745e-05/0.8223, allocations: 47.27 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.8223, allocations: 5.562 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.8223, allocations: 0.625 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.8223, allocations: 0.7969 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.964e-05/0.8224, allocations: 13.89 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.8224, allocations: 0 / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.494e-05/0.8224, allocations: 0.9375 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.8224, allocations: 10.08 kB / 1.093 GB, free: 1.934 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.145e-05/0.8225, allocations: 111.6 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.799e-06/0.8225, allocations: 9.328 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.8226, allocations: 58.86 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.8227, allocations: 1.312 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.8227, allocations: 0 / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.8227, allocations: 1.484 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.898e-05/0.8227, allocations: 152.1 kB / 1.093 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.8228, allocations: 4.5 kB / 1.093 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.552e-05/0.8228, allocations: 5.609 kB / 1.093 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.8228, allocations: 8.75 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.8228, allocations: 1.344 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.8228, allocations: 4 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8228, allocations: 0.8438 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.758e-05/0.8229, allocations: 73.62 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.927e-05/0.8229, allocations: 78.66 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.8229, allocations: 1.594 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.176e-05/0.823, allocations: 0 / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.559e-05/0.823, allocations: 2.906 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.823, allocations: 4.938 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.852e-05/0.823, allocations: 77.98 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.823, allocations: 0 / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002587/0.8233, allocations: 36.69 kB / 1.094 GB, free: 1.293 MB / 0.8575 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.0002373/0.8235, allocations: 129.4 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.32e-05/0.8236, allocations: 19.7 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.8236, allocations: 1 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.517e-05/0.8236, allocations: 6.391 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.8238, allocations: 11.67 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002513/0.8241, allocations: 125.6 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.8242, allocations: 0.6748 MB / 1.095 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.889e-05/0.8243, allocations: 10.34 kB / 1.095 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of SimCode: time 6.52e-07/0.8243, allocations: 7.938 kB / 1.095 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of Templates: time 0.002665/0.8269, allocations: 0.9159 MB / 1.096 GB, free: 16.26 MB / 0.8731 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