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.0007731/0.0007731, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005416/0.005416, allocations: 172.4 kB / 16.27 MB, free: 6.648 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.293/1.293, allocations: 223.3 MB / 240.3 MB, free: 5.367 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.274/2.274, allocations: 390.9 MB / 0.6664 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 12 kB / 0.8161 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6092/0.6095, allocations: 142.4 MB / 0.9552 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004064/0.6136, allocations: 4.241 MB / 0.9593 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000818/0.6145, allocations: 0.8121 MB / 0.9601 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.674e-05/0.6145, allocations: 3.031 kB / 0.9601 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.6147, allocations: 26.58 kB / 0.9601 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.81e-05/0.6148, allocations: 26.53 kB / 0.9602 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003845/0.6152, allocations: 144.5 kB / 0.9603 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.6153, allocations: 178.8 kB / 0.9605 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.238e-05/0.6154, allocations: 21.16 kB / 0.9605 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.6155, allocations: 71.38 kB / 0.9606 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.408e-05/0.6156, allocations: 68.48 kB / 0.9606 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.6157, allocations: 6.875 kB / 0.9606 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002696/0.6159, allocations: 147.2 kB / 0.9608 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.616, allocations: 24.03 kB / 0.9608 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.206e-05/0.616, allocations: 89.97 kB / 0.9609 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.6163, allocations: 224 kB / 0.9611 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6163, allocations: 4 kB / 0.9611 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.515e-06/0.6163, allocations: 1.375 kB / 0.9611 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.6163, allocations: 0 / 0.9611 GB, free: 2.938 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.0007141/0.6171, allocations: 477.1 kB / 0.9616 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.6171, allocations: 8.406 kB / 0.9616 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.542e-05/0.6172, allocations: 37.47 kB / 0.9616 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.6172, allocations: 12.22 kB / 0.9616 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.322e-05/0.6173, allocations: 182.8 kB / 0.9618 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.6173, allocations: 15.81 kB / 0.9618 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.6173, allocations: 19.11 kB / 0.9618 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.6177, allocations: 130.7 kB / 0.9619 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.6177, allocations: 0 / 0.9619 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.6177, allocations: 4.922 kB / 0.962 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.6177, allocations: 5.625 kB / 0.962 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/0.6181, allocations: 162.9 kB / 0.9621 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008448/0.619, allocations: 468.5 kB / 0.9626 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.6193, allocations: 139.8 kB / 0.9627 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.6195, allocations: 85.05 kB / 0.9628 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/0.6206, allocations: 0.9583 MB / 0.9637 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.6206, allocations: 36.53 kB / 0.9637 GB, free: 496 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.6206, allocations: 0 / 0.9637 GB, free: 496 kB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0006865/0.6213, allocations: 247 kB / 0.964 GB, free: 372 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.6213, allocations: 53.41 kB / 0.964 GB, free: 308 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.6215, allocations: 168.7 kB / 0.9642 GB, free: 164 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.6215, allocations: 26.67 kB / 0.9642 GB, free: 132 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.6215, allocations: 109.2 kB / 0.9643 GB, free: 24 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/0.6216, allocations: 40.38 kB / 0.9644 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.6216, allocations: 30.11 kB / 0.9644 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.6218, allocations: 321.3 kB / 0.9647 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.622, allocations: 90.62 kB / 0.9648 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.6223, allocations: 125.7 kB / 0.9649 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/0.6227, allocations: 195.4 kB / 0.9651 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6227, allocations: 1.375 kB / 0.9651 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005784/0.6233, allocations: 262.8 kB / 0.9653 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.6233, allocations: 9.531 kB / 0.9653 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.6234, allocations: 5.078 kB / 0.9654 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.6234, allocations: 6.094 kB / 0.9654 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.6236, allocations: 53.66 kB / 0.9654 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.6237, allocations: 2.156 kB / 0.9654 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.6238, allocations: 37.2 kB / 0.9654 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.6239, allocations: 16.67 kB / 0.9655 GB, free: 15.24 MB / 0.7325 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 9.493e-05/0.624, allocations: 129.2 kB / 0.9656 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.624, allocations: 15.19 kB / 0.9656 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004914/0.6245, allocations: 200.2 kB / 0.9658 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.6245, allocations: 1.188 kB / 0.9658 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6245, allocations: 5.094 kB / 0.9658 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.6245, allocations: 0 / 0.9658 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.6248, allocations: 206.2 kB / 0.966 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6248, allocations: 4 kB / 0.966 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.6249, allocations: 46.72 kB / 0.966 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.6249, allocations: 1.188 kB / 0.966 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.625, allocations: 1.219 kB / 0.966 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.625, allocations: 0 / 0.966 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.625, allocations: 1.531 kB / 0.966 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.6254, allocations: 283.8 kB / 0.9663 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.626e-05/0.6255, allocations: 105.8 kB / 0.9664 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.6255, allocations: 5.219 kB / 0.9664 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.6257, allocations: 15.58 kB / 0.9664 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.6257, allocations: 12.67 kB / 0.9665 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.6258, allocations: 2.219 kB / 0.9665 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.986e-05/0.6258, allocations: 111.9 kB / 0.9666 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6258, allocations: 5.125 kB / 0.9666 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003327/0.6262, allocations: 64.67 kB / 0.9666 GB, free: 14.28 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.0009095/0.6271, allocations: 0.8771 MB / 0.9675 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004958/0.6276, allocations: 190.5 kB / 0.9677 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6276, allocations: 0 / 0.9677 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.6278, allocations: 84.73 kB / 0.9677 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.6282, allocations: 17.23 kB / 0.9678 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.6308, allocations: 2.046 MB / 0.9698 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.631, allocations: 0.7029 MB / 0.9704 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001011/0.6311, allocations: 25.2 kB / 0.9705 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.566e-05/0.6312, allocations: 34.48 kB / 0.9705 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.6312, allocations: 1.344 kB / 0.9705 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.326/2.957, allocations: 3.876 MB / 0.9743 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002528/2.957, allocations: 222 kB / 0.9745 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/5.191, allocations: 2 kB / 0.9745 GB, free: 8.902 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