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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001412/0.001412, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001623/0.001623, allocations: 196.5 kB / 16.14 MB, free: 6.703 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.373/1.373, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6029/0.6043, allocations: 140.4 MB / 0.949 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004216/0.6085, allocations: 4.617 MB / 0.9536 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007385/0.6093, allocations: 0.8307 MB / 0.9544 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.095e-05/0.6093, allocations: 1.156 kB / 0.9544 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.6095, allocations: 27.25 kB / 0.9544 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.076e-05/0.6095, allocations: 32 kB / 0.9544 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.6099, allocations: 144.4 kB / 0.9546 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.61, allocations: 174.2 kB / 0.9547 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.007e-05/0.6101, allocations: 22.31 kB / 0.9548 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.6102, allocations: 67.73 kB / 0.9548 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.27e-05/0.6103, allocations: 77.09 kB / 0.9549 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.6103, allocations: 7.125 kB / 0.9549 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002593/0.6106, allocations: 146.7 kB / 0.955 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.275e-05/0.6106, allocations: 24.38 kB / 0.9551 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.398e-05/0.6107, allocations: 60.19 kB / 0.9551 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.6109, allocations: 232.6 kB / 0.9553 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.6109, allocations: 4 kB / 0.9553 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.91e-07/0.6109, allocations: 0 / 0.9553 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.611, allocations: 1.094 kB / 0.9553 GB, free: 4.117 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.0006864/0.6117, allocations: 479.7 kB / 0.9558 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.6117, allocations: 9.438 kB / 0.9558 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.909e-05/0.6117, allocations: 40.88 kB / 0.9558 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.6118, allocations: 19.94 kB / 0.9559 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.359e-05/0.6118, allocations: 186 kB / 0.956 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.6119, allocations: 13.25 kB / 0.9561 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.6119, allocations: 11.44 kB / 0.9561 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.6122, allocations: 112 kB / 0.9562 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.6122, allocations: 3.984 kB / 0.9562 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.6122, allocations: 1.469 kB / 0.9562 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.6122, allocations: 5.094 kB / 0.9562 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003638/0.6126, allocations: 143.9 kB / 0.9563 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000777/0.6134, allocations: 468.4 kB / 0.9568 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.6136, allocations: 120.6 kB / 0.9569 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.6138, allocations: 75.33 kB / 0.957 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/0.6148, allocations: 0.9676 MB / 0.9579 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.218e-05/0.6149, allocations: 39.66 kB / 0.9579 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.6149, allocations: 0.9688 kB / 0.9579 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0005737/0.6154, allocations: 213.6 kB / 0.9581 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.632e-05/0.6155, allocations: 53.75 kB / 0.9582 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.767e-05/0.6156, allocations: 159.6 kB / 0.9583 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.6156, allocations: 29.7 kB / 0.9584 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.6156, allocations: 108.8 kB / 0.9585 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.6157, allocations: 36.67 kB / 0.9585 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.293e-05/0.6157, allocations: 57.73 kB / 0.9586 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.527e-05/0.6158, allocations: 320.8 kB / 0.9589 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.616, allocations: 75.72 kB / 0.9589 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.6162, allocations: 117.5 kB / 0.9591 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.6166, allocations: 177.5 kB / 0.9592 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6166, allocations: 0 / 0.9592 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004981/0.6171, allocations: 244.3 kB / 0.9595 GB, free: 476 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.6171, allocations: 6.312 kB / 0.9595 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.6171, allocations: 1.375 kB / 0.9595 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.6171, allocations: 6.734 kB / 0.9595 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.6174, allocations: 55.78 kB / 0.9595 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.6174, allocations: 6.781 kB / 0.9595 GB, free: 452 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.6176, allocations: 30.73 kB / 0.9596 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.6176, allocations: 14.86 kB / 0.9596 GB, free: 424 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 5.993e-05/0.6177, allocations: 123.3 kB / 0.9597 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.6177, allocations: 15.95 kB / 0.9597 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004109/0.6181, allocations: 177 kB / 0.9599 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.6181, allocations: 1.375 kB / 0.9599 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.6181, allocations: 1.375 kB / 0.9599 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.6181, allocations: 0 / 0.9599 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.6183, allocations: 213.3 kB / 0.9601 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.6183, allocations: 1.375 kB / 0.9601 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.6185, allocations: 40.88 kB / 0.9601 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.6185, allocations: 5.094 kB / 0.9601 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.6185, allocations: 5.219 kB / 0.9601 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6185, allocations: 0 / 0.9601 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6186, allocations: 0.875 kB / 0.9601 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.619, allocations: 248.3 kB / 0.9604 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.255e-05/0.6191, allocations: 113.2 kB / 0.9605 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.6191, allocations: 5.062 kB / 0.9605 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.6192, allocations: 11.64 kB / 0.9605 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.6193, allocations: 12.7 kB / 0.9605 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.904e-06/0.6193, allocations: 2.219 kB / 0.9605 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.157e-05/0.6194, allocations: 117.4 kB / 0.9606 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6194, allocations: 0 / 0.9606 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003366/0.6197, allocations: 61.41 kB / 0.9607 GB, free: 15.47 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.0009036/0.6206, allocations: 0.8605 MB / 0.9615 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004704/0.6211, allocations: 170.1 kB / 0.9617 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6211, allocations: 0 / 0.9617 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.6213, allocations: 75.2 kB / 0.9618 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.6217, allocations: 21.39 kB / 0.9618 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/0.6246, allocations: 1.966 MB / 0.9637 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.6249, allocations: 0.7071 MB / 0.9644 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.625, allocations: 18.05 kB / 0.9644 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.882e-05/0.6251, allocations: 38.45 kB / 0.9644 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.6251, allocations: 0 / 0.9644 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2765/0.9016, allocations: 3.952 MB / 0.9683 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/0.9018, allocations: 224.9 kB / 0.9685 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/3.097, allocations: 1.875 kB / 0.9685 GB, free: 10.02 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