Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 80.83 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 165.3 kB / 22.46 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.725/2.725, allocations: 359 MB / 0.6037 GB, free: 15.02 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.039e-05/4.305e-05, allocations: 2.281 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007232/0.007275, allocations: 4.426 MB / 0.9553 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.008482, allocations: 0.7516 MB / 0.9561 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.844e-05/0.00855, allocations: 0 / 0.9561 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.008735, allocations: 35.72 kB / 0.9561 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.469e-05/0.0088, allocations: 31.7 kB / 0.9561 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006043/0.009404, allocations: 179.2 kB / 0.9563 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.00964, allocations: 179.3 kB / 0.9565 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.641e-05/0.009736, allocations: 9.297 kB / 0.9565 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.009971, allocations: 115.7 kB / 0.9566 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.01008, allocations: 67.84 kB / 0.9567 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.01011, allocations: 12 kB / 0.9567 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003213/0.01043, allocations: 139.7 kB / 0.9568 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.234e-05/0.01047, allocations: 35.89 kB / 0.9568 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.434e-05/0.01054, allocations: 43.91 kB / 0.9569 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.01095, allocations: 263.2 kB / 0.9571 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.01095, allocations: 0 / 0.9571 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.01095, allocations: 0 / 0.9571 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.01096, allocations: 0 / 0.9571 GB, free: 5.273 MB / 0.8575 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.0009383/0.0119, allocations: 413.4 kB / 0.9575 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.01194, allocations: 8.031 kB / 0.9575 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.01199, allocations: 12.89 kB / 0.9576 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.01214, allocations: 119.5 kB / 0.9577 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.01216, allocations: 12.38 kB / 0.9577 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.01218, allocations: 8.375 kB / 0.9577 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003618/0.01255, allocations: 126.1 kB / 0.9578 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.01256, allocations: 192 / 0.9578 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.01258, allocations: 8.125 kB / 0.9578 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.01258, allocations: 0 / 0.9578 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004418/0.01302, allocations: 139.9 kB / 0.958 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.01405, allocations: 388.1 kB / 0.9583 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.01437, allocations: 122.5 kB / 0.9584 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.01458, allocations: 68.75 kB / 0.9585 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/0.01583, allocations: 480 kB / 0.959 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.01585, allocations: 30.56 kB / 0.959 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.01586, allocations: 0 / 0.959 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0007477/0.0166, allocations: 205.5 kB / 0.9592 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.01666, allocations: 67.27 kB / 0.9593 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.01683, allocations: 165.3 kB / 0.9594 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.01685, allocations: 25.7 kB / 0.9594 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.165e-05/0.01695, allocations: 120.5 kB / 0.9595 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.01698, allocations: 39.64 kB / 0.9596 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.371e-05/0.01706, allocations: 49.7 kB / 0.9596 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.01721, allocations: 322.8 kB / 0.9599 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/0.01745, allocations: 75.94 kB / 0.96 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.01772, allocations: 111.4 kB / 0.9601 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004602/0.01818, allocations: 173.8 kB / 0.9603 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.01819, allocations: 4 kB / 0.9603 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006226/0.01881, allocations: 241.3 kB / 0.9605 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.01883, allocations: 4 kB / 0.9605 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.01883, allocations: 4 kB / 0.9605 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.01885, allocations: 0 / 0.9605 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.01914, allocations: 59.88 kB / 0.9606 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.01915, allocations: 4.094 kB / 0.9606 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.01933, allocations: 39.77 kB / 0.9606 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.01936, allocations: 8 kB / 0.9606 GB, free: 1.484 MB / 0.8575 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 0.0001237/0.01948, allocations: 126.4 kB / 0.9608 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.01952, allocations: 11.91 kB / 0.9608 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005301/0.02005, allocations: 178.9 kB / 0.9609 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.02006, allocations: 4 kB / 0.9609 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.02006, allocations: 4 kB / 0.9609 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.02007, allocations: 3.984 kB / 0.9609 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.02028, allocations: 157.1 kB / 0.9611 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.02028, allocations: 0 / 0.9611 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.02045, allocations: 31.91 kB / 0.9611 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.02045, allocations: 4 kB / 0.9611 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.02046, allocations: 4 kB / 0.9611 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.02047, allocations: 0 / 0.9611 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02047, allocations: 0 / 0.9611 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005076/0.02098, allocations: 259.3 kB / 0.9614 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.02103, allocations: 23.83 kB / 0.9614 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.02106, allocations: 0 / 0.9614 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.02121, allocations: 19.97 kB / 0.9614 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.02127, allocations: 11.92 kB / 0.9614 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.02128, allocations: 4 kB / 0.9614 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.183e-05/0.02137, allocations: 124.9 kB / 0.9616 GB, free: 492 kB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.02137, allocations: 0 / 0.9616 GB, free: 492 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003587/0.02173, allocations: 59.88 kB / 0.9616 GB, free: 432 kB / 0.8575 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.0003528/0.02208, allocations: 163 kB / 0.9618 GB, free: 260 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00053/0.02261, allocations: 159.8 kB / 0.9619 GB, free: 100 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02262, allocations: 0 / 0.9619 GB, free: 100 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.02282, allocations: 64.55 kB / 0.962 GB, free: 36 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.02323, allocations: 26.81 kB / 0.962 GB, free: 12 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005718/0.02381, allocations: 242.2 kB / 0.9622 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.801e-05/0.0239, allocations: 93.75 kB / 0.9623 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.862e-05/0.02399, allocations: 21.08 kB / 0.9624 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.947e-05/0.02405, allocations: 16.5 kB / 0.9624 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of SimCode: time 5.51e-07/0.02405, allocations: 0 / 0.9624 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of Templates: time 0.007078/0.03113, allocations: 2.846 MB / 0.9651 GB, free: 12.8 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.452452160418034]