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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009926/0.0009926, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009254/0.0009254, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9583/0.9583, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.865/1.865, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.629e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002057/0.002083, allocations: 1.297 MB / 1.001 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.003201, allocations: 0.7334 MB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.406e-05/0.003235, allocations: 3.938 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.485e-05/0.00326, allocations: 3.938 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.533e-05/0.003335, allocations: 7.938 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.003724, allocations: 95.83 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.396e-05/0.003798, allocations: 15.94 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.109e-05/0.003849, allocations: 4 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.06e-05/0.00389, allocations: 11.92 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.349e-05/0.003943, allocations: 4 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.003965, allocations: 4 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.004215, allocations: 140 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.004232, allocations: 3.984 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.004255, allocations: 8 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.004443, allocations: 127.6 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.004447, allocations: 0 / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.624e-06/0.004448, allocations: 0 / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.004454, allocations: 0 / 1.002 GB, free: 11 MB / 0.9636 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.0003537/0.004807, allocations: 266.3 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.004855, allocations: 8.75 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.152e-05/0.004887, allocations: 30.75 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.571e-05/0.004912, allocations: 8.891 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.424e-05/0.004997, allocations: 105.8 kB / 1.002 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.005009, allocations: 4.312 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.005019, allocations: 8.359 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.005121, allocations: 33.64 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.005129, allocations: 0 / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.005139, allocations: 0 / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.005145, allocations: 4 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.412e-05/0.005189, allocations: 11.98 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.005366, allocations: 128.7 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.904e-05/0.005455, allocations: 34.55 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.366e-05/0.005479, allocations: 8.922 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009114/0.00639, allocations: 376.5 kB / 1.003 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.006417, allocations: 30.56 kB / 1.003 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.006419, allocations: 0 / 1.003 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001778/0.006597, allocations: 49.69 kB / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.006632, allocations: 51.41 kB / 1.003 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.514e-05/0.006697, allocations: 97.84 kB / 1.003 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.006709, allocations: 29.83 kB / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.78e-05/0.006737, allocations: 84.14 kB / 1.003 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.961e-05/0.006797, allocations: 7.906 kB / 1.003 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.006841, allocations: 25.59 kB / 1.003 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.00698, allocations: 322.8 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.435e-05/0.006994, allocations: 0 / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.126e-05/0.007006, allocations: 4 kB / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.967e-05/0.007045, allocations: 16.86 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.007048, allocations: 0 / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.104e-05/0.007109, allocations: 49.95 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.007126, allocations: 4 kB / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.007134, allocations: 4 kB / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.00715, allocations: 0 / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.095e-05/0.007211, allocations: 11.94 kB / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.007218, allocations: 0 / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.142e-05/0.007229, allocations: 0 / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.007238, allocations: 7.969 kB / 1.004 GB, free: 9.02 MB / 0.9636 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 6.772e-05/0.007305, allocations: 113.8 kB / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-06/0.00731, allocations: 3.938 kB / 1.004 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.007423, allocations: 49.38 kB / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.007426, allocations: 0 / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.007432, allocations: 4 kB / 1.004 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.007436, allocations: 0 / 1.004 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.294e-05/0.007519, allocations: 128.8 kB / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.00752, allocations: 0 / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/0.007539, allocations: 7.938 kB / 1.004 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.007541, allocations: 0 / 1.004 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.007549, allocations: 4 kB / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.007551, allocations: 0 / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.007551, allocations: 3.938 kB / 1.004 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.761e-05/0.007619, allocations: 73.08 kB / 1.004 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-06/0.007628, allocations: 7.875 kB / 1.004 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.007639, allocations: 4 kB / 1.004 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-06/0.007646, allocations: 3.984 kB / 1.004 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.007662, allocations: 4 kB / 1.004 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.007665, allocations: 4 kB / 1.004 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.752e-05/0.007692, allocations: 83.22 kB / 1.004 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.007692, allocations: 0 / 1.004 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001709/0.007863, allocations: 23.94 kB / 1.004 GB, free: 8.426 MB / 0.9636 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.0004003/0.008263, allocations: 0.6491 MB / 1.005 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.784e-05/0.008341, allocations: 12 kB / 1.005 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.008343, allocations: 0 / 1.005 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.869e-06/0.008353, allocations: 11.98 kB / 1.005 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.008529, allocations: 8 kB / 1.005 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.008876, allocations: 138.5 kB / 1.005 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.196e-05/0.008928, allocations: 67.28 kB / 1.005 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.291e-05/0.008951, allocations: 4 kB / 1.005 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.008982, allocations: 8.5 kB / 1.005 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/0.008982, allocations: 0 / 1.005 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.02887, allocations: 2.42 MB / 1.008 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.837/7.866, allocations: 7.922 kB / 1.008 GB, free: 5.184 MB / 0.9636 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.42193515598774]