Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 189.4 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.319/2.319, allocations: 390.2 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5089/0.5101, allocations: 140.4 MB / 0.9492 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004408/0.5146, allocations: 4.6 MB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000718/0.5153, allocations: 0.8214 MB / 0.9545 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.759e-05/0.5154, allocations: 1.281 kB / 0.9545 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.5155, allocations: 17.56 kB / 0.9546 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.394e-05/0.5156, allocations: 27.8 kB / 0.9546 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.516, allocations: 166.2 kB / 0.9547 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.5161, allocations: 172.1 kB / 0.9549 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.912e-05/0.5162, allocations: 21 kB / 0.9549 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.5163, allocations: 85.31 kB / 0.955 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.089e-05/0.5164, allocations: 76.8 kB / 0.9551 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.5164, allocations: 17.41 kB / 0.9551 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002557/0.5167, allocations: 157.2 kB / 0.9553 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.5167, allocations: 36.64 kB / 0.9553 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.5168, allocations: 61.36 kB / 0.9553 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.5171, allocations: 233.8 kB / 0.9556 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5171, allocations: 0 / 0.9556 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5171, allocations: 0 / 0.9556 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.5171, allocations: 0 / 0.9556 GB, free: 4.09 MB / 0.7169 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.0006922/0.5178, allocations: 485 kB / 0.956 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.5178, allocations: 9.406 kB / 0.956 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.869e-05/0.5179, allocations: 41.27 kB / 0.9561 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.5179, allocations: 14.66 kB / 0.9561 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.473e-05/0.518, allocations: 190.8 kB / 0.9563 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.518, allocations: 16.5 kB / 0.9563 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.518, allocations: 11.09 kB / 0.9563 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002792/0.5183, allocations: 116.5 kB / 0.9564 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.5183, allocations: 0 / 0.9564 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.5184, allocations: 0.875 kB / 0.9564 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.5184, allocations: 2.312 kB / 0.9564 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.5187, allocations: 147.9 kB / 0.9566 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007867/0.5195, allocations: 466.9 kB / 0.957 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.5198, allocations: 121.3 kB / 0.9571 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.5199, allocations: 67.22 kB / 0.9572 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/0.521, allocations: 0.9649 MB / 0.9581 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.521, allocations: 35.75 kB / 0.9582 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.5211, allocations: 0 / 0.9582 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0005862/0.5216, allocations: 226.5 kB / 0.9584 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.5217, allocations: 52.59 kB / 0.9584 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.5218, allocations: 162.5 kB / 0.9586 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.5218, allocations: 30.89 kB / 0.9586 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.5218, allocations: 108.2 kB / 0.9587 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.5219, allocations: 37.77 kB / 0.9587 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/0.5219, allocations: 55.53 kB / 0.9588 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.107e-05/0.522, allocations: 325.1 kB / 0.9591 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.5222, allocations: 73.39 kB / 0.9592 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.5224, allocations: 115.8 kB / 0.9593 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.5228, allocations: 171.8 kB / 0.9595 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5228, allocations: 0 / 0.9595 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004795/0.5233, allocations: 257 kB / 0.9597 GB, free: 432 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.5233, allocations: 5.344 kB / 0.9597 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.5233, allocations: 1.344 kB / 0.9597 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.5233, allocations: 2.656 kB / 0.9597 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.5236, allocations: 52.84 kB / 0.9598 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.5236, allocations: 9.047 kB / 0.9598 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.5237, allocations: 26.58 kB / 0.9598 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.5238, allocations: 18.44 kB / 0.9598 GB, free: 384 kB / 0.7169 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 6.247e-05/0.5238, allocations: 120.4 kB / 0.9599 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.5239, allocations: 11.75 kB / 0.9599 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004122/0.5243, allocations: 178 kB / 0.9601 GB, free: 140 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.5243, allocations: 5.125 kB / 0.9601 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.5243, allocations: 0 / 0.9601 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.5243, allocations: 1.062 kB / 0.9601 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.5245, allocations: 217.5 kB / 0.9603 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.5245, allocations: 0 / 0.9603 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.5247, allocations: 34.77 kB / 0.9604 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.5247, allocations: 0 / 0.9604 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.5247, allocations: 1.062 kB / 0.9604 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.5247, allocations: 0.8438 kB / 0.9604 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5247, allocations: 9.109 kB / 0.9604 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/0.5251, allocations: 259.6 kB / 0.9606 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.263e-05/0.5252, allocations: 110.1 kB / 0.9607 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.5252, allocations: 1.156 kB / 0.9607 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.5254, allocations: 10.83 kB / 0.9607 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.5254, allocations: 15.89 kB / 0.9607 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.5254, allocations: 3.188 kB / 0.9607 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.34e-05/0.5255, allocations: 121.4 kB / 0.9609 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5255, allocations: 0 / 0.9609 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003119/0.5258, allocations: 60.55 kB / 0.9609 GB, free: 15.43 MB / 0.7325 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.0008353/0.5267, allocations: 0.8465 MB / 0.9617 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000475/0.5272, allocations: 178.2 kB / 0.9619 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.5272, allocations: 0 / 0.9619 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.5274, allocations: 75.62 kB / 0.962 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.5277, allocations: 26.77 kB / 0.962 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.53, allocations: 1.965 MB / 0.9639 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.5303, allocations: 0.7103 MB / 0.9646 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.927e-05/0.5304, allocations: 16.91 kB / 0.9646 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.593e-05/0.5305, allocations: 40.36 kB / 0.9647 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.5305, allocations: 0 / 0.9647 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.336/1.867, allocations: 4.043 MB / 0.9686 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003138/1.867, allocations: 232.6 kB / 0.9688 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.22/4.087, allocations: 0 / 0.9688 GB, free: 9.938 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches