Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.319/2.319, allocations: 443.5 MB / 0.7304 GB, free: 13.92 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 67.88 kB / 1.059 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2532, allocations: 160.7 MB / 1.216 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005857/0.2591, allocations: 4.646 MB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009882/0.26, allocations: 0.8226 MB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.873e-05/0.2601, allocations: 0 / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.2602, allocations: 31.77 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.484e-05/0.2603, allocations: 31.7 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.2607, allocations: 179.3 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.2609, allocations: 179.3 kB / 1.221 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.357e-05/0.261, allocations: 9.125 kB / 1.221 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.2611, allocations: 75.75 kB / 1.221 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.2612, allocations: 79.73 kB / 1.221 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.2613, allocations: 15.98 kB / 1.221 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.2616, allocations: 163.7 kB / 1.222 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.2616, allocations: 35.84 kB / 1.222 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.75e-05/0.2617, allocations: 63.72 kB / 1.222 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.262, allocations: 239.5 kB / 1.222 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.262, allocations: 0 / 1.222 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.673e-06/0.262, allocations: 0 / 1.222 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.262, allocations: 0 / 1.222 GB, free: 9.293 MB / 0.9669 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.0007968/0.2628, allocations: 486.5 kB / 1.222 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.2628, allocations: 12.03 kB / 1.222 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.742e-05/0.2629, allocations: 38.73 kB / 1.222 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.2629, allocations: 12.89 kB / 1.222 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.263, allocations: 196 kB / 1.223 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.2631, allocations: 8.375 kB / 1.223 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.2631, allocations: 12.38 kB / 1.223 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.2634, allocations: 125.4 kB / 1.223 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.2634, allocations: 0 / 1.223 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.2634, allocations: 12 kB / 1.223 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.2634, allocations: 0 / 1.223 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003967/0.2638, allocations: 139.9 kB / 1.223 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009022/0.2647, allocations: 464.5 kB / 1.223 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.265, allocations: 114.5 kB / 1.224 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.2652, allocations: 68.81 kB / 1.224 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001299/0.2665, allocations: 0.9605 MB / 1.225 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.2665, allocations: 34.56 kB / 1.225 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.2665, allocations: 0 / 1.225 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0006414/0.2671, allocations: 221.3 kB / 1.225 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.2672, allocations: 55.41 kB / 1.225 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.2673, allocations: 163.3 kB / 1.225 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.2673, allocations: 25.7 kB / 1.225 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/0.2674, allocations: 116.4 kB / 1.225 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.2674, allocations: 43.64 kB / 1.225 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.557e-05/0.2675, allocations: 49.7 kB / 1.225 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.2676, allocations: 322.8 kB / 1.226 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.2679, allocations: 75.94 kB / 1.226 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.2681, allocations: 114.2 kB / 1.226 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004032/0.2685, allocations: 170.5 kB / 1.226 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2685, allocations: 0 / 1.226 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000549/0.2691, allocations: 249.3 kB / 1.226 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.2691, allocations: 4 kB / 1.226 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2691, allocations: 3.938 kB / 1.226 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.2691, allocations: 4 kB / 1.226 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.2693, allocations: 51.91 kB / 1.226 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2693, allocations: 4.094 kB / 1.226 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.2695, allocations: 43.69 kB / 1.226 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.2695, allocations: 12 kB / 1.226 GB, free: 4.566 MB / 0.9669 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.215e-05/0.2696, allocations: 117.8 kB / 1.226 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.2696, allocations: 11.91 kB / 1.226 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004609/0.2701, allocations: 191.2 kB / 1.227 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2701, allocations: 0 / 1.227 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.2701, allocations: 0 / 1.227 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2701, allocations: 4 kB / 1.227 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.2703, allocations: 213.5 kB / 1.227 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2703, allocations: 0 / 1.227 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.2705, allocations: 27.97 kB / 1.227 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2705, allocations: 4 kB / 1.227 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.2705, allocations: 11.94 kB / 1.227 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.2705, allocations: 4 kB / 1.227 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.2705, allocations: 0 / 1.227 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004342/0.2709, allocations: 255.3 kB / 1.227 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-05/0.271, allocations: 100.9 kB / 1.227 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.271, allocations: 11.94 kB / 1.227 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.2712, allocations: 15.98 kB / 1.227 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.2712, allocations: 11.98 kB / 1.227 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.2712, allocations: 0 / 1.227 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.792e-05/0.2713, allocations: 112.9 kB / 1.227 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.2713, allocations: 0 / 1.227 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003055/0.2716, allocations: 67.86 kB / 1.227 GB, free: 3.332 MB / 0.9669 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.0008747/0.2725, allocations: 0.8546 MB / 1.228 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004643/0.2729, allocations: 159.1 kB / 1.228 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2729, allocations: 3.938 kB / 1.228 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.2731, allocations: 68.08 kB / 1.228 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.2734, allocations: 23.91 kB / 1.228 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.2759, allocations: 1.946 MB / 1.23 GB, free: 156 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.2762, allocations: 0.7084 MB / 1.231 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.982e-05/0.2763, allocations: 21.56 kB / 1.231 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.503e-05/0.2764, allocations: 35.42 kB / 1.231 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.2764, allocations: 0 / 1.231 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.3053, allocations: 4.279 MB / 1.235 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.191/7.496, allocations: 1.75 kB / 1.235 GB, free: 11.19 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv --start-time 0 --stop-time 250 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.634892640002363]