Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001646/0.001646, allocations: 108.5 kB / 16.46 MB, free: 6.453 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.001717/0.001717, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.463/1.463, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.21/3.21, allocations: 0.49 GB / 0.7916 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_12_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.001986/0.001986, allocations: 73.98 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3282, allocations: 176.1 MB / 1.321 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002425/0.3307, allocations: 1.308 MB / 1.322 GB, free: 1.996 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.3319, allocations: 0.776 MB / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.332, allocations: 0 / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.225e-05/0.332, allocations: 0 / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.3321, allocations: 3.938 kB / 1.323 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.3325, allocations: 91.95 kB / 1.323 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.799e-05/0.3326, allocations: 23.88 kB / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.3326, allocations: 4 kB / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.873e-05/0.3326, allocations: 3.984 kB / 1.323 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.442e-05/0.3327, allocations: 7.938 kB / 1.323 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.3327, allocations: 4 kB / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003126/0.333, allocations: 148 kB / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.333, allocations: 4 kB / 1.323 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.333, allocations: 11.92 kB / 1.323 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.3332, allocations: 100 kB / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3332, allocations: 0 / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3332, allocations: 0 / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3332, allocations: 4 kB / 1.323 GB, free: 0.8164 MB / 1.014 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.0003737/0.3336, allocations: 339.3 kB / 1.324 GB, free: 448 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3336, allocations: 11.98 kB / 1.324 GB, free: 436 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.3337, allocations: 38.62 kB / 1.324 GB, free: 388 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.382e-05/0.3337, allocations: 4.938 kB / 1.324 GB, free: 384 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.3338, allocations: 164.4 kB / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.3338, allocations: 384 / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.3338, allocations: 4.375 kB / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.652e-05/0.3339, allocations: 45.81 kB / 1.324 GB, free: 124 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.3339, allocations: 3.938 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.485e-06/0.3339, allocations: 0 / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3339, allocations: 0 / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.338e-05/0.334, allocations: 11.98 kB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.3342, allocations: 145.7 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.385e-05/0.3343, allocations: 38.55 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.078e-05/0.3343, allocations: 16.92 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001796/0.3361, allocations: 0.6533 MB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.3361, allocations: 42.5 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3361, allocations: 0 / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001566/0.3363, allocations: 53.62 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.3363, allocations: 51.41 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.983e-05/0.3364, allocations: 89.86 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.3364, allocations: 29.7 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.3364, allocations: 80.14 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.3365, allocations: 11.91 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.3365, allocations: 21.83 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3366, allocations: 310.8 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.3367, allocations: 8 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.058e-05/0.3367, allocations: 4 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.553e-05/0.3367, allocations: 12.86 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3367, allocations: 0 / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.463e-05/0.3368, allocations: 53.56 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3368, allocations: 8 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3368, allocations: 0 / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.3368, allocations: 4 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.111e-05/0.3369, allocations: 7.984 kB / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.3369, allocations: 0 / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.312e-05/0.3369, allocations: 0 / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.3369, allocations: 4 kB / 1.325 GB, free: 14.27 MB / 1.029 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.618e-05/0.337, allocations: 109.8 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.328e-06/0.337, allocations: 4.266 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.3371, allocations: 69 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3371, allocations: 8 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3371, allocations: 0 / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3371, allocations: 0 / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.3372, allocations: 153.7 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3372, allocations: 0 / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.83e-05/0.3373, allocations: 11.92 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.3373, allocations: 0 / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.3373, allocations: 4 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3373, allocations: 0 / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3373, allocations: 4 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.044e-05/0.3374, allocations: 73.12 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.3374, allocations: 81.05 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.3374, allocations: 0 / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.118e-05/0.3374, allocations: 0 / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.3374, allocations: 4 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.3374, allocations: 3.938 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.81e-05/0.3375, allocations: 79.27 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3375, allocations: 4.094 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002235/0.3377, allocations: 35.88 kB / 1.326 GB, free: 13.54 MB / 1.029 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.0005297/0.3382, allocations: 0.6319 MB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.158e-05/0.3383, allocations: 15.92 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3383, allocations: 0 / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.345e-05/0.3383, allocations: 4 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.3385, allocations: 11.98 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003831/0.3389, allocations: 159.4 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.3392, allocations: 0.6729 MB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.404e-05/0.3392, allocations: 7.938 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.3392, allocations: 15.42 kB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3392, allocations: 0 / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.3636, allocations: 1.768 MB / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/8.35, allocations: 15.41 kB / 1.329 GB, free: 10.29 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.048628946999088]