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.001745/0.001745, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002345/0.002345, allocations: 217.3 kB / 22.25 MB, free: 5.105 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.797 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.189/3.189, allocations: 0.49 GB / 0.7951 GB, free: 35.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.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.002011/0.002011, allocations: 67.34 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3991, allocations: 176.1 MB / 1.326 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006794/0.4059, allocations: 4.434 MB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.4071, allocations: 0.7556 MB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.25e-05/0.4072, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001804/0.4073, allocations: 31.78 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.284e-05/0.4074, allocations: 31.7 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005519/0.408, allocations: 175.3 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.4082, allocations: 183.3 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.4083, allocations: 13.58 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.4085, allocations: 83.73 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.4086, allocations: 79.67 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.4086, allocations: 16 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003276/0.409, allocations: 139.8 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.082e-05/0.409, allocations: 31.91 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.394e-05/0.4091, allocations: 59.72 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003956/0.4095, allocations: 243.1 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.4095, allocations: 0 / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4095, allocations: 0 / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.4095, allocations: 0 / 1.332 GB, free: 11.17 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.0009161/0.4104, allocations: 415.2 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.4104, allocations: 8.031 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.708e-05/0.4105, allocations: 38.75 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/0.4105, allocations: 12.84 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.4107, allocations: 127.6 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.4107, allocations: 12.31 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.4107, allocations: 12.38 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.4111, allocations: 117.6 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.4111, allocations: 0 / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.4111, allocations: 8 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.4111, allocations: 8 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00042/0.4115, allocations: 139.9 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.4126, allocations: 411.6 kB / 1.333 GB, free: 9.777 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.4129, allocations: 114.5 kB / 1.333 GB, free: 9.656 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.413, allocations: 61.06 kB / 1.333 GB, free: 9.594 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/0.4143, allocations: 488 kB / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.4143, allocations: 34.5 kB / 1.334 GB, free: 9.055 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.4143, allocations: 0 / 1.334 GB, free: 9.055 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0006697/0.415, allocations: 213.4 kB / 1.334 GB, free: 8.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.4151, allocations: 55.39 kB / 1.334 GB, free: 8.773 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.4152, allocations: 161.4 kB / 1.334 GB, free: 8.602 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.4152, allocations: 33.7 kB / 1.334 GB, free: 8.562 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.502e-05/0.4153, allocations: 112.4 kB / 1.334 GB, free: 8.449 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.4154, allocations: 39.67 kB / 1.334 GB, free: 8.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.4155, allocations: 53.66 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4156, allocations: 322.8 kB / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.4158, allocations: 75.94 kB / 1.335 GB, free: 7.953 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002732/0.4161, allocations: 111.3 kB / 1.335 GB, free: 7.832 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004133/0.4165, allocations: 177 kB / 1.335 GB, free: 7.648 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4165, allocations: 3.938 kB / 1.335 GB, free: 7.645 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005697/0.4171, allocations: 239.2 kB / 1.335 GB, free: 7.406 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4171, allocations: 8 kB / 1.335 GB, free: 7.398 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.4171, allocations: 3.938 kB / 1.335 GB, free: 7.395 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.4171, allocations: 7.938 kB / 1.335 GB, free: 7.387 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.4174, allocations: 51.95 kB / 1.336 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.4174, allocations: 0 / 1.336 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.4176, allocations: 31.83 kB / 1.336 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.4176, allocations: 16.09 kB / 1.336 GB, free: 7.289 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.0001268/0.4177, allocations: 130.2 kB / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.4178, allocations: 11.91 kB / 1.336 GB, free: 7.141 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005046/0.4183, allocations: 187.2 kB / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4183, allocations: 0 / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4183, allocations: 3.938 kB / 1.336 GB, free: 6.945 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.4183, allocations: 8 kB / 1.336 GB, free: 6.938 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.4185, allocations: 164.7 kB / 1.336 GB, free: 6.734 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.4185, allocations: 3.984 kB / 1.336 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.4187, allocations: 23.98 kB / 1.336 GB, free: 6.707 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.4187, allocations: 4 kB / 1.336 GB, free: 6.703 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.4187, allocations: 3.938 kB / 1.336 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.4187, allocations: 0 / 1.336 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4187, allocations: 3.984 kB / 1.336 GB, free: 6.695 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/0.4192, allocations: 263.3 kB / 1.336 GB, free: 6.422 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/0.4192, allocations: 23.83 kB / 1.336 GB, free: 6.398 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.4193, allocations: 3.938 kB / 1.336 GB, free: 6.395 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.4194, allocations: 19.98 kB / 1.336 GB, free: 6.375 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.4195, allocations: 7.984 kB / 1.336 GB, free: 6.367 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.4195, allocations: 11.92 kB / 1.336 GB, free: 6.355 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.905e-05/0.4196, allocations: 116.9 kB / 1.336 GB, free: 6.242 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4196, allocations: 0 / 1.336 GB, free: 6.242 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003687/0.42, allocations: 63.86 kB / 1.337 GB, free: 6.18 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.001011/0.421, allocations: 0.8449 MB / 1.337 GB, free: 5.309 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005123/0.4215, allocations: 159.8 kB / 1.338 GB, free: 5.152 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4215, allocations: 0 / 1.338 GB, free: 5.152 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.4217, allocations: 63.89 kB / 1.338 GB, free: 5.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.4221, allocations: 25.73 kB / 1.338 GB, free: 5.066 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.4249, allocations: 1.966 MB / 1.34 GB, free: 3 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.406e-05/0.425, allocations: 89.62 kB / 1.34 GB, free: 2.895 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.55e-05/0.4251, allocations: 21.56 kB / 1.34 GB, free: 2.875 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.465e-05/0.4252, allocations: 35.42 kB / 1.34 GB, free: 2.84 MB / 1.029 GB Notification: Performance of SimCode: time 6.52e-07/0.4252, allocations: 0 / 1.34 GB, free: 2.84 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03379/0.459, allocations: 4.985 MB / 1.345 GB, free: 14.02 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.55, allocations: 2.875 kB / 1.345 GB, free: 14.02 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.2244407760154]