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.001675/0.001675, allocations: 103.5 kB / 16.45 MB, free: 6.449 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.002851/0.002851, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.529/1.529, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.124/3.124, allocations: 0.49 GB / 0.7916 GB, free: 33.34 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.002044/0.002044, allocations: 70.16 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3524, allocations: 176.1 MB / 1.321 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007605/0.36, allocations: 4.673 MB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.3612, allocations: 0.8216 MB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.3613, allocations: 4 kB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002164/0.3616, allocations: 35.77 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.593e-05/0.3617, allocations: 31.7 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006514/0.3623, allocations: 171.4 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.3626, allocations: 179.4 kB / 1.327 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3627, allocations: 17.09 kB / 1.327 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.3629, allocations: 83.64 kB / 1.327 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.3631, allocations: 79.72 kB / 1.327 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.3631, allocations: 12 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004186/0.3635, allocations: 159.8 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.372e-05/0.3636, allocations: 27.92 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.721e-05/0.3636, allocations: 67.66 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004313/0.3641, allocations: 239.4 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3641, allocations: 4 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3641, allocations: 0 / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.3641, allocations: 0 / 1.327 GB, free: 12.72 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.0009708/0.3651, allocations: 490.5 kB / 1.328 GB, free: 12.19 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3651, allocations: 11.98 kB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.813e-05/0.3652, allocations: 54.66 kB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.3652, allocations: 12.84 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.3654, allocations: 177.3 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.3654, allocations: 8.375 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.3654, allocations: 12.38 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.3658, allocations: 123.9 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3658, allocations: 3.938 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.3658, allocations: 4 kB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3658, allocations: 7.938 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004608/0.3663, allocations: 139.8 kB / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.3673, allocations: 468.5 kB / 1.329 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.3676, allocations: 114.5 kB / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.3679, allocations: 64.81 kB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001502/0.3694, allocations: 0.9685 MB / 1.33 GB, free: 9.797 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.3694, allocations: 34.56 kB / 1.33 GB, free: 9.754 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.864e-06/0.3694, allocations: 4 kB / 1.33 GB, free: 9.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0007384/0.3701, allocations: 217.3 kB / 1.33 GB, free: 9.531 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.3702, allocations: 51.41 kB / 1.33 GB, free: 9.469 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.3703, allocations: 160 kB / 1.33 GB, free: 9.301 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.3704, allocations: 29.7 kB / 1.33 GB, free: 9.266 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.679e-05/0.3705, allocations: 112.4 kB / 1.33 GB, free: 9.152 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.3705, allocations: 39.69 kB / 1.33 GB, free: 9.113 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.991e-05/0.3706, allocations: 53.7 kB / 1.331 GB, free: 9.055 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3707, allocations: 322.8 kB / 1.331 GB, free: 8.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.371, allocations: 83.81 kB / 1.331 GB, free: 8.648 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.3713, allocations: 102.9 kB / 1.331 GB, free: 8.539 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/0.3718, allocations: 177.3 kB / 1.331 GB, free: 8.355 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3718, allocations: 0 / 1.331 GB, free: 8.355 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006392/0.3724, allocations: 247.1 kB / 1.331 GB, free: 8.109 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3724, allocations: 7.984 kB / 1.331 GB, free: 8.102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.3724, allocations: 7.938 kB / 1.331 GB, free: 8.094 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3724, allocations: 0 / 1.331 GB, free: 8.094 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.3727, allocations: 51.91 kB / 1.331 GB, free: 8.043 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.3727, allocations: 4 kB / 1.331 GB, free: 8.039 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.3729, allocations: 35.92 kB / 1.331 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.373, allocations: 7.984 kB / 1.332 GB, free: 7.996 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.0001143/0.3731, allocations: 121.8 kB / 1.332 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.3731, allocations: 15.91 kB / 1.332 GB, free: 7.852 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005419/0.3736, allocations: 186.7 kB / 1.332 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3737, allocations: 4 kB / 1.332 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3737, allocations: 0 / 1.332 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3737, allocations: 0 / 1.332 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.3739, allocations: 213.6 kB / 1.332 GB, free: 7.395 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3739, allocations: 4 kB / 1.332 GB, free: 7.391 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.3741, allocations: 35.91 kB / 1.332 GB, free: 7.355 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3741, allocations: 0 / 1.332 GB, free: 7.355 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.3741, allocations: 7.938 kB / 1.332 GB, free: 7.348 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3741, allocations: 0 / 1.332 GB, free: 7.348 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3741, allocations: 4 kB / 1.332 GB, free: 7.344 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005033/0.3746, allocations: 255.9 kB / 1.332 GB, free: 7.078 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.878e-05/0.3747, allocations: 104.9 kB / 1.332 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.3747, allocations: 3.938 kB / 1.332 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.3749, allocations: 19.98 kB / 1.332 GB, free: 6.934 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.3749, allocations: 7.984 kB / 1.332 GB, free: 6.926 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.3749, allocations: 8 kB / 1.332 GB, free: 6.918 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.184e-05/0.375, allocations: 112 kB / 1.333 GB, free: 6.809 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.375, allocations: 0 / 1.333 GB, free: 6.809 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003601/0.3754, allocations: 63.81 kB / 1.333 GB, free: 6.746 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.001067/0.3765, allocations: 0.8535 MB / 1.333 GB, free: 5.867 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005485/0.377, allocations: 159.9 kB / 1.334 GB, free: 5.711 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.377, allocations: 0 / 1.334 GB, free: 5.711 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.3772, allocations: 63.95 kB / 1.334 GB, free: 5.648 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.3776, allocations: 20.17 kB / 1.334 GB, free: 5.629 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.3806, allocations: 1.963 MB / 1.336 GB, free: 3.562 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.381, allocations: 0.7084 MB / 1.336 GB, free: 2.828 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.909e-05/0.3811, allocations: 22.77 kB / 1.336 GB, free: 2.809 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.311e-05/0.3812, allocations: 35.42 kB / 1.336 GB, free: 2.773 MB / 1.029 GB Notification: Performance of SimCode: time 8.11e-07/0.3812, allocations: 0 / 1.336 GB, free: 2.773 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02936/0.4105, allocations: 4.298 MB / 1.341 GB, free: 14.63 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.015/8.425, allocations: 6.672 kB / 1.341 GB, free: 14.63 MB / 1.045 GB " [Timeout remaining time 292] (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: 15.052142929984257]