Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001346/0.001346, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 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.0009191/0.0009191, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 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 0.9014/0.9014, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.822/1.822, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0.7656 kB / 0.7601 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.295e-05, allocations: 5.406 kB / 0.7601 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00589/0.005913, allocations: 4.739 MB / 0.7647 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009741/0.006887, allocations: 0.8423 MB / 0.7655 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.161e-05/0.006948, allocations: 4 kB / 0.7655 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.007099, allocations: 23.78 kB / 0.7655 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.948e-05/0.007159, allocations: 36.98 kB / 0.7656 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.007687, allocations: 177.8 kB / 0.7657 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.007873, allocations: 187.3 kB / 0.7659 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.229e-05/0.007945, allocations: 9.953 kB / 0.7659 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.008139, allocations: 116.7 kB / 0.766 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.737e-05/0.008226, allocations: 63.84 kB / 0.7661 GB, free: 448 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.008248, allocations: 12 kB / 0.7661 GB, free: 436 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002633/0.008511, allocations: 142.9 kB / 0.7662 GB, free: 296 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/0.00854, allocations: 27.91 kB / 0.7663 GB, free: 268 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.062e-05/0.008591, allocations: 51.83 kB / 0.7663 GB, free: 216 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.008871, allocations: 215.3 kB / 0.7665 GB, free: 0 / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.008874, allocations: 0 / 0.7665 GB, free: 0 / 0.7136 GB Notification: Performance of FrontEnd: time 7.41e-07/0.008875, allocations: 0 / 0.7665 GB, free: 0 / 0.7136 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.008879, allocations: 0 / 0.7665 GB, free: 0 / 0.7136 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.0005265/0.009405, allocations: 379.1 kB / 0.7669 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.009438, allocations: 12.03 kB / 0.7669 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.009475, allocations: 12.92 kB / 0.7669 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.447e-05/0.009569, allocations: 131 kB / 0.767 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.009583, allocations: 8.375 kB / 0.767 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.009603, allocations: 13.88 kB / 0.7671 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.009755, allocations: 97.72 kB / 0.7672 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.009762, allocations: 4.172 kB / 0.7672 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.009772, allocations: 4.781 kB / 0.7672 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.009779, allocations: 4 kB / 0.7672 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.082e-05/0.009859, allocations: 41.44 kB / 0.7672 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.01039, allocations: 296 kB / 0.7675 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.01049, allocations: 66.53 kB / 0.7676 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/0.01053, allocations: 27.64 kB / 0.7676 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006784/0.0112, allocations: 422.5 kB / 0.768 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.01123, allocations: 38.5 kB / 0.768 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 2.344e-06/0.01123, allocations: 0 / 0.768 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0001707/0.0114, allocations: 89.59 kB / 0.7681 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.01143, allocations: 51.41 kB / 0.7682 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.01154, allocations: 166.5 kB / 0.7683 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.01155, allocations: 29.7 kB / 0.7683 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.931e-05/0.0116, allocations: 100.5 kB / 0.7684 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.01163, allocations: 47.62 kB / 0.7685 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.199e-05/0.01169, allocations: 50.95 kB / 0.7685 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.444e-05/0.01177, allocations: 326.8 kB / 0.7688 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.889e-05/0.01181, allocations: 19.98 kB / 0.7689 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.531e-05/0.01188, allocations: 58.41 kB / 0.7689 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.01198, allocations: 82.33 kB / 0.769 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01198, allocations: 0.6875 kB / 0.769 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000168/0.01215, allocations: 124.3 kB / 0.7691 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.01216, allocations: 6.188 kB / 0.7691 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.01217, allocations: 5.484 kB / 0.7691 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.01218, allocations: 4 kB / 0.7691 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.01233, allocations: 43.92 kB / 0.7692 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.01234, allocations: 7.984 kB / 0.7692 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.446e-05/0.01241, allocations: 24.8 kB / 0.7692 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.01243, allocations: 8 kB / 0.7692 GB, free: 13.1 MB / 0.7292 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 7.39e-05/0.01251, allocations: 134.2 kB / 0.7693 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.01253, allocations: 8.578 kB / 0.7693 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.01268, allocations: 92.16 kB / 0.7694 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.01268, allocations: 4 kB / 0.7694 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.01268, allocations: 0.5625 kB / 0.7694 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01268, allocations: 1.531 kB / 0.7694 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.01282, allocations: 105.8 kB / 0.7695 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01283, allocations: 0 / 0.7695 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.333e-05/0.0129, allocations: 27.91 kB / 0.7696 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.0129, allocations: 5.062 kB / 0.7696 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-06/0.01291, allocations: 0 / 0.7696 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01291, allocations: 0 / 0.7696 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01291, allocations: 1.812 kB / 0.7696 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.01303, allocations: 179.4 kB / 0.7697 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.164e-05/0.01306, allocations: 15.89 kB / 0.7698 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.01308, allocations: 4 kB / 0.7698 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.01315, allocations: 8 kB / 0.7698 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.01318, allocations: 14.72 kB / 0.7698 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.01319, allocations: 4 kB / 0.7698 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.603e-05/0.01323, allocations: 35.16 kB / 0.7698 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01323, allocations: 0 / 0.7698 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002744/0.0135, allocations: 67.86 kB / 0.7699 GB, free: 12.36 MB / 0.7292 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.000218/0.01372, allocations: 147.3 kB / 0.77 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001344/0.01385, allocations: 76.75 kB / 0.7701 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.01386, allocations: 3.938 kB / 0.7701 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.167e-05/0.0139, allocations: 36.78 kB / 0.7701 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.01411, allocations: 22.45 kB / 0.7702 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004875/0.0146, allocations: 241.6 kB / 0.7704 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.309e-05/0.01464, allocations: 65 kB / 0.7705 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.408e-05/0.01471, allocations: 19.86 kB / 0.7705 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.175e-05/0.0148, allocations: 71.89 kB / 0.7705 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of SimCode: time 8.41e-07/0.0148, allocations: 1.781 kB / 0.7705 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of Templates: time 0.005608/0.02041, allocations: 2.999 MB / 0.7735 GB, free: 8.785 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.940210712142289]