Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001758/0.001758, allocations: 103.1 kB / 16.45 MB, free: 6.445 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.002058/0.002058, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.439/1.439, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 443.5 MB / 0.7287 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 63.91 kB / 1.056 GB, free: 2.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3177, allocations: 160.7 MB / 1.213 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002756/0.3205, allocations: 1.282 MB / 1.214 GB, free: 108 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.3218, allocations: 0.7421 MB / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.3219, allocations: 0 / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.207e-05/0.3219, allocations: 0 / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.218e-05/0.3219, allocations: 11.92 kB / 1.215 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.3223, allocations: 87.97 kB / 1.215 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.516e-05/0.3224, allocations: 19.88 kB / 1.215 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.3224, allocations: 3.984 kB / 1.215 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.422e-05/0.3225, allocations: 11.92 kB / 1.215 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.789e-05/0.3225, allocations: 4 kB / 1.215 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.3225, allocations: 0 / 1.215 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003236/0.3228, allocations: 144.1 kB / 1.215 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.3229, allocations: 4 kB / 1.215 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.555e-05/0.3229, allocations: 23.86 kB / 1.215 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.3231, allocations: 100 kB / 1.215 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3231, allocations: 0 / 1.215 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3231, allocations: 0 / 1.215 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.3231, allocations: 0 / 1.215 GB, free: 14.95 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.0004137/0.3235, allocations: 341 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3235, allocations: 8.031 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.3236, allocations: 30.75 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.689e-05/0.3236, allocations: 4.938 kB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.3237, allocations: 168.3 kB / 1.216 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.3238, allocations: 384 / 1.216 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.3238, allocations: 4.375 kB / 1.216 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.45e-05/0.3239, allocations: 41.8 kB / 1.216 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.3239, allocations: 0 / 1.216 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-06/0.3239, allocations: 4 kB / 1.216 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.3239, allocations: 0 / 1.216 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.498e-05/0.3239, allocations: 7.984 kB / 1.216 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.3241, allocations: 157.6 kB / 1.216 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.365e-05/0.3242, allocations: 42.55 kB / 1.216 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.791e-05/0.3242, allocations: 12.92 kB / 1.216 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001749/0.326, allocations: 0.6572 MB / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.326, allocations: 34.5 kB / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.326, allocations: 0 / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0001545/0.3261, allocations: 49.69 kB / 1.217 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.3262, allocations: 59.34 kB / 1.217 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.205e-05/0.3263, allocations: 93.86 kB / 1.217 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.3263, allocations: 25.7 kB / 1.217 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.72e-05/0.3263, allocations: 84.14 kB / 1.217 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.3263, allocations: 11.89 kB / 1.217 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.3264, allocations: 17.7 kB / 1.217 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3265, allocations: 310.8 kB / 1.217 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.3265, allocations: 8 kB / 1.217 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.548e-06/0.3265, allocations: 0 / 1.217 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.605e-05/0.3266, allocations: 16.86 kB / 1.217 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3266, allocations: 8.125 kB / 1.217 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.641e-05/0.3267, allocations: 49.56 kB / 1.217 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3267, allocations: 4 kB / 1.217 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3267, allocations: 7.938 kB / 1.217 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3267, allocations: 0 / 1.217 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.266e-05/0.3267, allocations: 11.98 kB / 1.217 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3267, allocations: 0 / 1.217 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.722e-05/0.3268, allocations: 7.891 kB / 1.217 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.3268, allocations: 0 / 1.217 GB, free: 12.4 MB / 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 7.809e-05/0.3268, allocations: 113.8 kB / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.042e-05/0.3269, allocations: 3.938 kB / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.327, allocations: 53.19 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.327, allocations: 384 / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.327, allocations: 4 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.327, allocations: 3.938 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.3271, allocations: 149.7 kB / 1.218 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3271, allocations: 3.984 kB / 1.218 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.893e-05/0.3271, allocations: 11.92 kB / 1.218 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3271, allocations: 4 kB / 1.218 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.3271, allocations: 0 / 1.218 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3272, allocations: 0 / 1.218 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3272, allocations: 0 / 1.218 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.303e-05/0.3272, allocations: 73.12 kB / 1.218 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.3273, allocations: 81.05 kB / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.3273, allocations: 0 / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.143e-05/0.3273, allocations: 0 / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.3273, allocations: 4 kB / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.3273, allocations: 4 kB / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.765e-05/0.3274, allocations: 79.27 kB / 1.218 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.3274, allocations: 0 / 1.218 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002239/0.3276, allocations: 39.81 kB / 1.218 GB, free: 11.68 MB / 0.9669 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.0005289/0.3281, allocations: 0.6397 MB / 1.219 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.462e-05/0.3282, allocations: 11.98 kB / 1.219 GB, free: 11 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3282, allocations: 0 / 1.219 GB, free: 11 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.736e-05/0.3282, allocations: 7.938 kB / 1.219 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.3284, allocations: 19.86 kB / 1.219 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00041/0.3288, allocations: 155.5 kB / 1.219 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.3291, allocations: 0.6729 MB / 1.22 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.404e-05/0.3291, allocations: 0 / 1.22 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.3292, allocations: 15.42 kB / 1.22 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of SimCode: time 6.31e-07/0.3292, allocations: 0 / 1.22 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/0.3551, allocations: 1.768 MB / 1.221 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.249, allocations: 10.44 kB / 1.221 GB, free: 8.438 MB / 0.9669 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.105249023064971]