Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 110.9 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.658/2.658, allocations: 476.7 MB / 0.7611 GB, free: 11.42 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.89 kB / 1.104 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8888/0.8908, allocations: 168.7 MB / 1.269 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002555/0.8934, allocations: 1.288 MB / 1.27 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.8947, allocations: 0.7343 MB / 1.271 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.915e-05/0.8947, allocations: 0 / 1.271 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.8947, allocations: 3.984 kB / 1.271 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.53e-05/0.8948, allocations: 7.938 kB / 1.271 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.8952, allocations: 99.91 kB / 1.271 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.611e-05/0.8952, allocations: 19.86 kB / 1.271 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.653e-05/0.8953, allocations: 4 kB / 1.271 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.243e-05/0.8953, allocations: 4 kB / 1.271 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.977e-05/0.8953, allocations: 7.984 kB / 1.271 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.8954, allocations: 0 / 1.271 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003264/0.8957, allocations: 152 kB / 1.271 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.8957, allocations: 3.938 kB / 1.271 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.8957, allocations: 4 kB / 1.271 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.8959, allocations: 117.5 kB / 1.271 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.8959, allocations: 0 / 1.271 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8959, allocations: 0 / 1.271 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.8959, allocations: 0 / 1.271 GB, free: 2.672 MB / 0.9669 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.0004049/0.8963, allocations: 337.4 kB / 1.271 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.8964, allocations: 12.03 kB / 1.271 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.8964, allocations: 30.75 kB / 1.272 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.465e-05/0.8964, allocations: 4.922 kB / 1.272 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.8966, allocations: 164.3 kB / 1.272 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.8966, allocations: 8.375 kB / 1.272 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-06/0.8966, allocations: 384 / 1.272 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.757e-05/0.8967, allocations: 41.81 kB / 1.272 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.8967, allocations: 0 / 1.272 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.8967, allocations: 0 / 1.272 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.8967, allocations: 3.938 kB / 1.272 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.186e-05/0.8968, allocations: 8 kB / 1.272 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.897, allocations: 153.7 kB / 1.272 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.688e-05/0.8971, allocations: 34.61 kB / 1.272 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/0.8971, allocations: 12.92 kB / 1.272 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001775/0.8989, allocations: 0.6533 MB / 1.273 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.8989, allocations: 38.5 kB / 1.273 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.8989, allocations: 0 / 1.273 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.000165/0.8991, allocations: 49.77 kB / 1.273 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.8991, allocations: 51.41 kB / 1.273 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.335e-05/0.8992, allocations: 101.8 kB / 1.273 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.8992, allocations: 25.83 kB / 1.273 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.8992, allocations: 88.08 kB / 1.273 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.8993, allocations: 15.88 kB / 1.273 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.8993, allocations: 13.72 kB / 1.273 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.8994, allocations: 314.8 kB / 1.273 GB, free: 252 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.8995, allocations: 3.984 kB / 1.273 GB, free: 248 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.393e-05/0.8995, allocations: 8.031 kB / 1.273 GB, free: 240 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.646e-05/0.8995, allocations: 20.8 kB / 1.273 GB, free: 216 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.8995, allocations: 0 / 1.273 GB, free: 216 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.259e-05/0.8996, allocations: 57.58 kB / 1.273 GB, free: 152 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.8996, allocations: 4 kB / 1.273 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.8996, allocations: 0 / 1.273 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.8996, allocations: 0 / 1.273 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.948e-05/0.8997, allocations: 4 kB / 1.273 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.8997, allocations: 4 kB / 1.273 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.628e-05/0.8997, allocations: 3.938 kB / 1.273 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.8997, allocations: 0 / 1.273 GB, free: 136 kB / 0.9669 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 8.206e-05/0.8998, allocations: 114.4 kB / 1.273 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.8998, allocations: 12.02 kB / 1.273 GB, free: 16 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.8999, allocations: 57.12 kB / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.8999, allocations: 0 / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.8999, allocations: 0 / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.8999, allocations: 0 / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.9001, allocations: 153.7 kB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.9001, allocations: 0 / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.467e-05/0.9001, allocations: 7.938 kB / 1.274 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.9001, allocations: 4 kB / 1.274 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.9001, allocations: 0 / 1.274 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.9001, allocations: 4 kB / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.9001, allocations: 0 / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.131e-05/0.9002, allocations: 69.06 kB / 1.274 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/0.9002, allocations: 88.98 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.9003, allocations: 8 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.145e-05/0.9003, allocations: 3.938 kB / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.038e-05/0.9003, allocations: 0 / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.9003, allocations: 4 kB / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.95e-05/0.9003, allocations: 79.28 kB / 1.274 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9003, allocations: 0 / 1.274 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002198/0.9006, allocations: 31.88 kB / 1.274 GB, free: 15.4 MB / 0.9825 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.0005671/0.9011, allocations: 0.6361 MB / 1.275 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.777e-05/0.9012, allocations: 19.92 kB / 1.275 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9012, allocations: 4 kB / 1.275 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.65e-05/0.9012, allocations: 7.984 kB / 1.275 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.9014, allocations: 7.906 kB / 1.275 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004233/0.9019, allocations: 147.5 kB / 1.275 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.9022, allocations: 0.6806 MB / 1.275 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.693e-05/0.9022, allocations: 7.938 kB / 1.275 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.9022, allocations: 7.438 kB / 1.275 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.9022, allocations: 0 / 1.275 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.9251, allocations: 1.79 MB / 1.277 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.665/8.59, allocations: 12.28 kB / 1.277 GB, free: 12.14 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.407835904043168]