Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001432/0.001432, allocations: 113 kB / 18.94 MB, free: 2.934 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.001671/0.001671, allocations: 209.8 kB / 22.25 MB, free: 5.086 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.433/1.433, allocations: 230.6 MB / 256 MB, free: 8.012 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.027/3.027, allocations: 0.49 GB / 0.7951 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 177] 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.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_12_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.001934/0.001934, allocations: 69.14 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3174, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006337/0.3238, allocations: 4.704 MB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.3249, allocations: 0.8333 MB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.864e-05/0.325, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.3252, allocations: 35.77 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.566e-05/0.3252, allocations: 35.7 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004803/0.3257, allocations: 171.4 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.3259, allocations: 171.4 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.344e-05/0.326, allocations: 17.56 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.3262, allocations: 87.62 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.3263, allocations: 83.72 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.3263, allocations: 12 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003304/0.3266, allocations: 155.8 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.3267, allocations: 31.89 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.151e-05/0.3268, allocations: 67.66 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.3271, allocations: 243.1 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3271, allocations: 0 / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.388e-06/0.3271, allocations: 4 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3271, allocations: 0 / 1.332 GB, free: 11.26 MB / 1.029 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.0008335/0.3279, allocations: 405.5 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.328, allocations: 8.031 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.629e-05/0.328, allocations: 42.69 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.3281, allocations: 16.84 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.3282, allocations: 128.4 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.3282, allocations: 12.38 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.3282, allocations: 8.375 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.3286, allocations: 121.5 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3286, allocations: 0 / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.3286, allocations: 8 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3286, allocations: 3.938 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004104/0.329, allocations: 155.8 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009358/0.3299, allocations: 431.5 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.3302, allocations: 122.5 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.3304, allocations: 60.81 kB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/0.3315, allocations: 0.5002 MB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.3316, allocations: 34.56 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.3316, allocations: 0 / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.000649/0.3322, allocations: 213.3 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.3323, allocations: 55.41 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.3324, allocations: 164 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.3325, allocations: 25.7 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.794e-05/0.3325, allocations: 112.4 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.3326, allocations: 39.64 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.778e-05/0.3327, allocations: 49.7 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.3328, allocations: 326.8 kB / 1.335 GB, free: 8.062 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.333, allocations: 79.94 kB / 1.335 GB, free: 7.984 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.3333, allocations: 113.5 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.3337, allocations: 168.9 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3337, allocations: 0 / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005565/0.3342, allocations: 243.4 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3343, allocations: 10.03 kB / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.3343, allocations: 11.92 kB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3343, allocations: 0 / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.3345, allocations: 51.91 kB / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.3346, allocations: 7.984 kB / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.3347, allocations: 31.83 kB / 1.336 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.3347, allocations: 15.98 kB / 1.336 GB, free: 7.32 MB / 1.029 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.0001157/0.3349, allocations: 134.2 kB / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.3349, allocations: 7.953 kB / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004624/0.3353, allocations: 179.2 kB / 1.336 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3354, allocations: 4 kB / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3354, allocations: 0 / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3354, allocations: 3.938 kB / 1.336 GB, free: 6.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.3356, allocations: 184.7 kB / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3356, allocations: 0 / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.3357, allocations: 39.91 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3357, allocations: 0 / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.3358, allocations: 3.938 kB / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3358, allocations: 0 / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3358, allocations: 0 / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004467/0.3362, allocations: 263.4 kB / 1.337 GB, free: 6.441 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.3363, allocations: 23.83 kB / 1.337 GB, free: 6.418 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.3363, allocations: 11.92 kB / 1.337 GB, free: 6.406 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.3364, allocations: 11.98 kB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.3365, allocations: 11.98 kB / 1.337 GB, free: 6.383 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.3365, allocations: 4 kB / 1.337 GB, free: 6.379 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.713e-05/0.3366, allocations: 120 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3366, allocations: 3.938 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003166/0.3369, allocations: 59.86 kB / 1.337 GB, free: 6.199 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 (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.0009506/0.3378, allocations: 0.8332 MB / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004997/0.3383, allocations: 167.8 kB / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3383, allocations: 0 / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.3385, allocations: 59.95 kB / 1.338 GB, free: 5.117 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.3389, allocations: 15.98 kB / 1.338 GB, free: 5.102 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.3415, allocations: 1.958 MB / 1.34 GB, free: 3.043 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.3419, allocations: 0.7045 MB / 1.341 GB, free: 2.312 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.563e-05/0.342, allocations: 28.95 kB / 1.341 GB, free: 2.289 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.864e-05/0.3421, allocations: 39.42 kB / 1.341 GB, free: 2.25 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3421, allocations: 0 / 1.341 GB, free: 2.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03237/0.3745, allocations: 4.447 MB / 1.345 GB, free: 13.96 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.01, allocations: 2.406 kB / 1.345 GB, free: 13.96 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.216555163031444]