Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.001224/0.001224, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001362/0.001362, allocations: 213.7 kB / 22.25 MB, free: 5.262 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.317/1.317, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 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 2.968/2.968, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 MB / 0.6231 GB " [Timeout remaining time 177] 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.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.001893/0.001893, allocations: 62.5 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2864, allocations: 181.9 MB / 1.363 GB, free: 14.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006529/0.2929, allocations: 4.426 MB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.2941, allocations: 0.7556 MB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.91e-05/0.2942, allocations: 3.938 kB / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.2944, allocations: 31.78 kB / 1.369 GB, free: 8.754 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.434e-05/0.2944, allocations: 31.7 kB / 1.369 GB, free: 8.723 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.295, allocations: 179.3 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.2952, allocations: 171.4 kB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.133e-05/0.2953, allocations: 21.56 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.2954, allocations: 79.69 kB / 1.369 GB, free: 8.281 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.2955, allocations: 71.72 kB / 1.369 GB, free: 8.211 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.2956, allocations: 20 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002905/0.2959, allocations: 131.8 kB / 1.369 GB, free: 8.062 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.848e-05/0.2959, allocations: 35.89 kB / 1.369 GB, free: 8.027 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.199e-05/0.296, allocations: 59.66 kB / 1.369 GB, free: 7.969 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.2963, allocations: 239.2 kB / 1.37 GB, free: 7.734 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2963, allocations: 3.938 kB / 1.37 GB, free: 7.73 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2963, allocations: 0 / 1.37 GB, free: 7.73 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.2963, allocations: 0 / 1.37 GB, free: 7.73 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007985/0.2971, allocations: 409.4 kB / 1.37 GB, free: 7.301 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2972, allocations: 8.031 kB / 1.37 GB, free: 7.293 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.2972, allocations: 42.73 kB / 1.37 GB, free: 7.242 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.2972, allocations: 12.89 kB / 1.37 GB, free: 7.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.2974, allocations: 130.3 kB / 1.37 GB, free: 7.078 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.2974, allocations: 11.94 kB / 1.37 GB, free: 7.066 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.2974, allocations: 12 kB / 1.37 GB, free: 7.055 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.2977, allocations: 121.6 kB / 1.37 GB, free: 6.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2977, allocations: 0 / 1.37 GB, free: 6.93 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.2977, allocations: 0 / 1.37 GB, free: 6.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.2977, allocations: 4 kB / 1.37 GB, free: 6.926 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003972/0.2981, allocations: 139.9 kB / 1.37 GB, free: 6.789 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009455/0.2991, allocations: 407.6 kB / 1.371 GB, free: 6.348 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.2994, allocations: 118.5 kB / 1.371 GB, free: 6.223 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.2996, allocations: 68.81 kB / 1.371 GB, free: 6.152 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/0.3007, allocations: 479.9 kB / 1.371 GB, free: 5.664 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.3007, allocations: 34.56 kB / 1.371 GB, free: 5.621 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.163e-06/0.3007, allocations: 0 / 1.371 GB, free: 5.621 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0006568/0.3014, allocations: 217.4 kB / 1.372 GB, free: 5.402 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.3014, allocations: 51.41 kB / 1.372 GB, free: 5.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.3016, allocations: 167.2 kB / 1.372 GB, free: 5.164 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.3016, allocations: 33.7 kB / 1.372 GB, free: 5.125 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.738e-05/0.3017, allocations: 108.4 kB / 1.372 GB, free: 5.016 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.3018, allocations: 43.58 kB / 1.372 GB, free: 4.973 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.124e-05/0.3018, allocations: 53.69 kB / 1.372 GB, free: 4.914 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.302, allocations: 330.8 kB / 1.372 GB, free: 4.582 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.3022, allocations: 67.95 kB / 1.372 GB, free: 4.516 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.3025, allocations: 122.6 kB / 1.373 GB, free: 4.387 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004085/0.3029, allocations: 173.2 kB / 1.373 GB, free: 4.207 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3029, allocations: 0 / 1.373 GB, free: 4.207 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005535/0.3034, allocations: 250.8 kB / 1.373 GB, free: 3.957 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3034, allocations: 10.03 kB / 1.373 GB, free: 3.949 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.3034, allocations: 0 / 1.373 GB, free: 3.949 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3034, allocations: 4 kB / 1.373 GB, free: 3.945 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.3037, allocations: 55.95 kB / 1.373 GB, free: 3.891 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3037, allocations: 4.094 kB / 1.373 GB, free: 3.887 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.3039, allocations: 27.88 kB / 1.373 GB, free: 3.859 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.3039, allocations: 8 kB / 1.373 GB, free: 3.852 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 0.0001041/0.304, allocations: 125.7 kB / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.304, allocations: 19.83 kB / 1.373 GB, free: 3.699 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004713/0.3045, allocations: 182.9 kB / 1.373 GB, free: 3.512 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3045, allocations: 0 / 1.373 GB, free: 3.512 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3045, allocations: 0 / 1.373 GB, free: 3.512 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3045, allocations: 4 kB / 1.373 GB, free: 3.508 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.3047, allocations: 172.7 kB / 1.374 GB, free: 3.297 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.3047, allocations: 3.938 kB / 1.374 GB, free: 3.293 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.3049, allocations: 27.97 kB / 1.374 GB, free: 3.266 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3049, allocations: 4 kB / 1.374 GB, free: 3.262 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3049, allocations: 4 kB / 1.374 GB, free: 3.258 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3049, allocations: 0 / 1.374 GB, free: 3.258 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3049, allocations: 4 kB / 1.374 GB, free: 3.254 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004454/0.3053, allocations: 251.4 kB / 1.374 GB, free: 2.992 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.3054, allocations: 35.69 kB / 1.374 GB, free: 2.957 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.3054, allocations: 0 / 1.374 GB, free: 2.957 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.3055, allocations: 15.98 kB / 1.374 GB, free: 2.941 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.3056, allocations: 7.984 kB / 1.374 GB, free: 2.934 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.3056, allocations: 8 kB / 1.374 GB, free: 2.926 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.412e-05/0.3057, allocations: 119.9 kB / 1.374 GB, free: 2.809 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3057, allocations: 0 / 1.374 GB, free: 2.809 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003064/0.306, allocations: 63.86 kB / 1.374 GB, free: 2.746 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 (12): * Single equations (assignments): 12 * 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.0009469/0.3069, allocations: 0.8474 MB / 1.375 GB, free: 1.875 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004765/0.3074, allocations: 166.1 kB / 1.375 GB, free: 1.715 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3074, allocations: 0 / 1.375 GB, free: 1.715 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.3076, allocations: 68.08 kB / 1.375 GB, free: 1.648 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.308, allocations: 23.98 kB / 1.375 GB, free: 1.625 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.3106, allocations: 1.954 MB / 1.377 GB, free: 15.57 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.843e-05/0.3107, allocations: 97.61 kB / 1.377 GB, free: 15.46 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.747e-05/0.3108, allocations: 17.02 kB / 1.377 GB, free: 15.44 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.564e-05/0.3109, allocations: 39.42 kB / 1.377 GB, free: 15.4 MB / 1.076 GB Notification: Performance of SimCode: time 3.81e-07/0.3109, allocations: 0 / 1.377 GB, free: 15.4 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03091/0.3418, allocations: 4.936 MB / 1.382 GB, free: 10.63 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/10.61, allocations: 7.234 kB / 1.382 GB, free: 10.63 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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: 16.592524697072804]