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.001166/0.001166, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001115, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.265/1.265, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.278/2.278, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.91 kB / 0.8127 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5399/0.5412, allocations: 140.4 MB / 0.9497 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004938/0.5462, allocations: 4.571 MB / 0.9542 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000787/0.547, allocations: 0.8249 MB / 0.955 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.669e-05/0.5471, allocations: 1.094 kB / 0.955 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.5472, allocations: 24.53 kB / 0.955 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.732e-05/0.5473, allocations: 32.17 kB / 0.955 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.5477, allocations: 182.5 kB / 0.9552 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.5478, allocations: 175 kB / 0.9554 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.358e-05/0.5479, allocations: 21.7 kB / 0.9554 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.5481, allocations: 80.75 kB / 0.9555 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.469e-05/0.5482, allocations: 77.36 kB / 0.9556 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.5482, allocations: 15.88 kB / 0.9556 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002786/0.5485, allocations: 154 kB / 0.9557 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.487e-05/0.5485, allocations: 32 kB / 0.9557 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.566e-05/0.5486, allocations: 64.56 kB / 0.9558 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.5489, allocations: 237.2 kB / 0.956 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.5489, allocations: 0 / 0.956 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5489, allocations: 0 / 0.956 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.5489, allocations: 5.312 kB / 0.956 GB, free: 4.316 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.000701/0.5496, allocations: 484.1 kB / 0.9565 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.5496, allocations: 8.469 kB / 0.9565 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.871e-05/0.5497, allocations: 42.23 kB / 0.9566 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.5497, allocations: 18.31 kB / 0.9566 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.601e-05/0.5498, allocations: 183.2 kB / 0.9567 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.5498, allocations: 16.53 kB / 0.9568 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.5498, allocations: 11.03 kB / 0.9568 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.5501, allocations: 121.9 kB / 0.9569 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.5501, allocations: 0 / 0.9569 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.5502, allocations: 5.062 kB / 0.9569 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.5502, allocations: 6.5 kB / 0.9569 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003833/0.5506, allocations: 143.5 kB / 0.957 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008163/0.5514, allocations: 462.1 kB / 0.9575 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.5517, allocations: 134.8 kB / 0.9576 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.5518, allocations: 70.47 kB / 0.9577 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/0.5529, allocations: 0.9654 MB / 0.9586 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.553, allocations: 34.5 kB / 0.9586 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.553, allocations: 1.656 kB / 0.9586 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0005977/0.5536, allocations: 213.4 kB / 0.9589 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/0.5536, allocations: 52.78 kB / 0.9589 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.846e-05/0.5537, allocations: 161 kB / 0.9591 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.5537, allocations: 35.02 kB / 0.9591 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.5538, allocations: 109.8 kB / 0.9592 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.5538, allocations: 35.58 kB / 0.9592 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-05/0.5539, allocations: 56.84 kB / 0.9593 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.623e-05/0.5539, allocations: 325.6 kB / 0.9596 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.5541, allocations: 71.83 kB / 0.9597 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.5543, allocations: 117.4 kB / 0.9598 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003786/0.5547, allocations: 171.6 kB / 0.9599 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5547, allocations: 0 / 0.9599 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005206/0.5553, allocations: 249.2 kB / 0.9602 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.5553, allocations: 5.469 kB / 0.9602 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.5553, allocations: 1.094 kB / 0.9602 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.5553, allocations: 2.156 kB / 0.9602 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.5556, allocations: 56.16 kB / 0.9602 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.5556, allocations: 2.031 kB / 0.9602 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.5557, allocations: 35.34 kB / 0.9603 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.5558, allocations: 13.84 kB / 0.9603 GB, free: 0.6016 MB / 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.376e-05/0.5558, allocations: 123.4 kB / 0.9604 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.5559, allocations: 13.31 kB / 0.9604 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000437/0.5563, allocations: 176.8 kB / 0.9606 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.5563, allocations: 1.062 kB / 0.9606 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5564, allocations: 9.062 kB / 0.9606 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.5564, allocations: 3.984 kB / 0.9606 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.5565, allocations: 213.9 kB / 0.9608 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5565, allocations: 0.9062 kB / 0.9608 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.5567, allocations: 41 kB / 0.9608 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.5567, allocations: 1.062 kB / 0.9608 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.5567, allocations: 1.094 kB / 0.9608 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5567, allocations: 1.344 kB / 0.9608 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5567, allocations: 4 kB / 0.9608 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004538/0.5572, allocations: 252.1 kB / 0.9611 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.236e-05/0.5573, allocations: 110.2 kB / 0.9612 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.5573, allocations: 1.156 kB / 0.9612 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.5574, allocations: 15.08 kB / 0.9612 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.5575, allocations: 15.67 kB / 0.9612 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.5575, allocations: 2.969 kB / 0.9612 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.304e-05/0.5576, allocations: 116.6 kB / 0.9613 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5576, allocations: 0 / 0.9613 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003254/0.5579, allocations: 56.73 kB / 0.9614 GB, free: 15.65 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.0008602/0.5588, allocations: 0.8535 MB / 0.9622 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005016/0.5593, allocations: 170.7 kB / 0.9624 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.5593, allocations: 0 / 0.9624 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.5595, allocations: 75.41 kB / 0.9625 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.5599, allocations: 25.45 kB / 0.9625 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.5623, allocations: 1.928 MB / 0.9644 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.5626, allocations: 0.7135 MB / 0.9651 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.512e-05/0.5627, allocations: 18.22 kB / 0.9651 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.223e-05/0.5627, allocations: 39.92 kB / 0.9651 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.5627, allocations: 0 / 0.9651 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.054/2.617, allocations: 4.235 MB / 0.9693 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.628/11.24, allocations: 11.91 kB / 0.9693 GB, free: 10.28 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