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.001695/0.001695, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.002146/0.002146, allocations: 212.3 kB / 22.24 MB, free: 5.242 MB / 14.72 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 1.562/1.562, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 3.42/3.42, allocations: 0.5107 GB / 0.8158 GB, free: 17.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 69.48 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4711/0.4733, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002624/0.4759, allocations: 1.314 MB / 1.365 GB, free: 12.72 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.4773, allocations: 0.7183 MB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.4773, allocations: 0 / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.03e-05/0.4773, allocations: 0 / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.89e-05/0.4774, allocations: 7.922 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.4777, allocations: 91.97 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.203e-05/0.4778, allocations: 19.88 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.4779, allocations: 7.984 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.55e-05/0.4779, allocations: 11.92 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.351e-05/0.4779, allocations: 8 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.4779, allocations: 0 / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003965/0.4783, allocations: 136.1 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.4783, allocations: 0 / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.4784, allocations: 11.92 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.4786, allocations: 107.9 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.4786, allocations: 0 / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4786, allocations: 4 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.4786, allocations: 4 kB / 1.366 GB, free: 11.59 MB / 1.061 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.0004447/0.4791, allocations: 254.2 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.4791, allocations: 12.03 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.4792, allocations: 34.75 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.4792, allocations: 0.9375 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.4793, allocations: 110.5 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.4793, allocations: 4.125 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-06/0.4793, allocations: 0 / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.944e-05/0.4794, allocations: 33.69 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.4794, allocations: 0 / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.4794, allocations: 8 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4794, allocations: 4 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.634e-05/0.4795, allocations: 4 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.4797, allocations: 132.7 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.4798, allocations: 42.48 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/0.4798, allocations: 8.922 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001664/0.4815, allocations: 372.5 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.4815, allocations: 30.56 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.4815, allocations: 0 / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0001614/0.4817, allocations: 45.69 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.4817, allocations: 59.34 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.914e-05/0.4818, allocations: 97.86 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.4818, allocations: 25.7 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.609e-05/0.4819, allocations: 88.12 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.4819, allocations: 3.953 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.4819, allocations: 17.72 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.4821, allocations: 310.8 kB / 1.367 GB, free: 9.746 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.4821, allocations: 4 kB / 1.367 GB, free: 9.742 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.786e-05/0.4821, allocations: 12.17 kB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.103e-05/0.4821, allocations: 20.94 kB / 1.367 GB, free: 9.707 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.4821, allocations: 3.938 kB / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.751e-05/0.4822, allocations: 45.62 kB / 1.367 GB, free: 9.652 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.4822, allocations: 12.12 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.4822, allocations: 0 / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.4822, allocations: 3.938 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.136e-05/0.4823, allocations: 4 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.4823, allocations: 0 / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.541e-05/0.4823, allocations: 3.953 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.4823, allocations: 7.938 kB / 1.368 GB, free: 9.621 MB / 1.061 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.656e-05/0.4824, allocations: 113.8 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.1e-05/0.4824, allocations: 4 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.4826, allocations: 57.36 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4826, allocations: 0 / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4826, allocations: 0 / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4826, allocations: 3.938 kB / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.4827, allocations: 124.7 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4827, allocations: 0 / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.753e-05/0.4827, allocations: 7.984 kB / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.4827, allocations: 4 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.4828, allocations: 0 / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4828, allocations: 0 / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4828, allocations: 0 / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.4829, allocations: 81.06 kB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-06/0.4829, allocations: 4 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.4829, allocations: 0 / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.224e-05/0.4829, allocations: 0 / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.134e-05/0.4829, allocations: 0 / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.4829, allocations: 7.984 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.213e-05/0.4829, allocations: 75.28 kB / 1.368 GB, free: 9.062 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4829, allocations: 0 / 1.368 GB, free: 9.062 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002346/0.4832, allocations: 39.81 kB / 1.368 GB, free: 9.023 MB / 1.061 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.0005677/0.4838, allocations: 0.6319 MB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.566e-05/0.4838, allocations: 16.17 kB / 1.369 GB, free: 8.344 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4838, allocations: 0 / 1.369 GB, free: 8.344 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.822e-05/0.4839, allocations: 12.03 kB / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.484, allocations: 14.66 kB / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004079/0.4845, allocations: 155.5 kB / 1.369 GB, free: 8.129 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.38e-05/0.4845, allocations: 63.34 kB / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.893e-05/0.4845, allocations: 4 kB / 1.369 GB, free: 8.043 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.4846, allocations: 7.438 kB / 1.369 GB, free: 8.035 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.4846, allocations: 0 / 1.369 GB, free: 8.035 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03304/0.5176, allocations: 2.275 MB / 1.371 GB, free: 5.902 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.51, allocations: 13.02 kB / 1.371 GB, free: 5.891 MB / 1.061 GB " [Timeout remaining time 287] (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/jenkins1/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: 20.043776622973382]