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.0008269/0.0008269, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008313/0.0008313, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 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.9001/0.9001, allocations: 177.2 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.708/1.708, allocations: 377.9 MB / 0.6228 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.034e-06/2.034e-06, allocations: 0 / 0.9822 GB, free: 2 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.572e-05, allocations: 2.281 kB / 0.9822 GB, free: 1.996 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004531/0.004557, allocations: 4.413 MB / 0.9866 GB, free: 13.57 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.0007658/0.005322, allocations: 0.7631 MB / 0.9873 GB, free: 12.8 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.372e-05/0.005386, allocations: 0 / 0.9873 GB, free: 12.8 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.005558, allocations: 35.72 kB / 0.9873 GB, free: 12.77 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 4.187e-05/0.0056, allocations: 31.7 kB / 0.9874 GB, free: 12.73 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004791/0.006079, allocations: 179.2 kB / 0.9875 GB, free: 12.56 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.006252, allocations: 191.2 kB / 0.9877 GB, free: 12.37 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.006344, allocations: 9.312 kB / 0.9877 GB, free: 12.36 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.006519, allocations: 107.8 kB / 0.9878 GB, free: 12.26 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.271e-05/0.006592, allocations: 63.78 kB / 0.9879 GB, free: 12.2 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.006612, allocations: 16 kB / 0.9879 GB, free: 12.18 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002331/0.006845, allocations: 139.7 kB / 0.988 GB, free: 12.04 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.72e-05/0.006872, allocations: 35.89 kB / 0.9881 GB, free: 12.01 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.548e-05/0.006918, allocations: 47.89 kB / 0.9881 GB, free: 11.96 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.007224, allocations: 263.1 kB / 0.9884 GB, free: 11.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.007226, allocations: 0 / 0.9884 GB, free: 11.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.343e-06/0.007227, allocations: 0 / 0.9884 GB, free: 11.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.007232, allocations: 0 / 0.9884 GB, free: 11.7 MB / 0.948 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.0006376/0.00787, allocations: 409.5 kB / 0.9888 GB, free: 11.27 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.00791, allocations: 8.031 kB / 0.9888 GB, free: 11.27 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.007955, allocations: 16.84 kB / 0.9888 GB, free: 11.25 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.412e-05/0.008049, allocations: 121.6 kB / 0.9889 GB, free: 11.11 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.008064, allocations: 16.31 kB / 0.9889 GB, free: 11.09 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.008082, allocations: 12.31 kB / 0.9889 GB, free: 11.08 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.0083, allocations: 122.1 kB / 0.989 GB, free: 10.95 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.008308, allocations: 192 / 0.989 GB, free: 10.95 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.008323, allocations: 12.12 kB / 0.9891 GB, free: 10.94 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.008328, allocations: 0 / 0.9891 GB, free: 10.94 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.008559, allocations: 139.9 kB / 0.9892 GB, free: 10.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006272/0.009186, allocations: 376.3 kB / 0.9896 GB, free: 10.41 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.00937, allocations: 126.4 kB / 0.9897 GB, free: 10.27 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.009473, allocations: 68.75 kB / 0.9897 GB, free: 10.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000644/0.01012, allocations: 476.1 kB / 0.9902 GB, free: 9.719 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.01014, allocations: 34.56 kB / 0.9902 GB, free: 9.676 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.01014, allocations: 0 / 0.9902 GB, free: 9.676 MB / 0.948 GB Notification: Performance of matching and sorting (n=12): time 0.0003924/0.01053, allocations: 213.3 kB / 0.9904 GB, free: 9.461 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.01056, allocations: 59.41 kB / 0.9905 GB, free: 9.391 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.01068, allocations: 159.2 kB / 0.9906 GB, free: 9.223 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.01069, allocations: 29.7 kB / 0.9907 GB, free: 9.188 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.01075, allocations: 112.5 kB / 0.9908 GB, free: 9.074 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.01077, allocations: 39.64 kB / 0.9908 GB, free: 9.035 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/0.01082, allocations: 49.7 kB / 0.9909 GB, free: 8.98 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.459e-05/0.01091, allocations: 322.8 kB / 0.9912 GB, free: 8.656 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.01103, allocations: 79.88 kB / 0.9912 GB, free: 8.578 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.01119, allocations: 113.3 kB / 0.9913 GB, free: 8.457 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.01143, allocations: 171.8 kB / 0.9915 GB, free: 8.281 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.01143, allocations: 4 kB / 0.9915 GB, free: 8.277 MB / 0.948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003314/0.01176, allocations: 245.3 kB / 0.9918 GB, free: 8.031 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.01178, allocations: 4 kB / 0.9918 GB, free: 8.027 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.01178, allocations: 4 kB / 0.9918 GB, free: 8.023 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.0118, allocations: 0 / 0.9918 GB, free: 8.023 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.01194, allocations: 51.91 kB / 0.9918 GB, free: 7.973 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.01195, allocations: 4 kB / 0.9918 GB, free: 7.969 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.767e-05/0.01203, allocations: 43.83 kB / 0.9919 GB, free: 7.926 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.01205, allocations: 11.94 kB / 0.9919 GB, free: 7.914 MB / 0.948 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.394e-05/0.01212, allocations: 125.8 kB / 0.992 GB, free: 7.781 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.01214, allocations: 15.84 kB / 0.992 GB, free: 7.766 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.01241, allocations: 179.4 kB / 0.9922 GB, free: 7.574 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.01242, allocations: 0 / 0.9922 GB, free: 7.574 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.01242, allocations: 4 kB / 0.9922 GB, free: 7.57 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.01243, allocations: 0 / 0.9922 GB, free: 7.57 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.01256, allocations: 153.2 kB / 0.9923 GB, free: 7.391 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01256, allocations: 0 / 0.9923 GB, free: 7.391 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.865e-05/0.01263, allocations: 27.97 kB / 0.9923 GB, free: 7.363 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01263, allocations: 4 kB / 0.9924 GB, free: 7.359 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.01264, allocations: 4 kB / 0.9924 GB, free: 7.355 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01264, allocations: 0 / 0.9924 GB, free: 7.355 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01264, allocations: 0 / 0.9924 GB, free: 7.355 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.0129, allocations: 271.2 kB / 0.9926 GB, free: 7.074 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.01294, allocations: 23.83 kB / 0.9926 GB, free: 7.051 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.01295, allocations: 0 / 0.9926 GB, free: 7.051 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.404e-05/0.01302, allocations: 15.98 kB / 0.9927 GB, free: 7.035 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.01306, allocations: 7.984 kB / 0.9927 GB, free: 7.027 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.01306, allocations: 8 kB / 0.9927 GB, free: 7.02 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.434e-05/0.01312, allocations: 112.9 kB / 0.9928 GB, free: 6.91 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01312, allocations: 0 / 0.9928 GB, free: 6.91 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002272/0.01334, allocations: 67.86 kB / 0.9928 GB, free: 6.844 MB / 0.948 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.0002139/0.01356, allocations: 166.1 kB / 0.993 GB, free: 6.672 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002864/0.01384, allocations: 155.8 kB / 0.9931 GB, free: 6.52 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01385, allocations: 0 / 0.9931 GB, free: 6.52 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.952e-05/0.01395, allocations: 63.89 kB / 0.9932 GB, free: 6.457 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.01419, allocations: 32.11 kB / 0.9932 GB, free: 6.426 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003814/0.01457, allocations: 263.9 kB / 0.9935 GB, free: 6.137 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.408e-05/0.01463, allocations: 93.67 kB / 0.9936 GB, free: 6.027 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.025e-05/0.01468, allocations: 16.5 kB / 0.9936 GB, free: 6.012 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/0.01468, allocations: 0 / 0.9936 GB, free: 6.012 MB / 0.948 GB Notification: Performance of Templates: time 0.003192/0.01788, allocations: 2.643 MB / 0.9962 GB, free: 3.383 MB / 0.948 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.749641865491867]