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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 103.9 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 190.3 kB / 17.29 MB, free: 5.48 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.492/2.492, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.001451, allocations: 64.91 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3025, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006574/0.3091, allocations: 4.586 MB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.3102, allocations: 0.8108 MB / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.901e-05/0.3103, allocations: 0 / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.3106, allocations: 31.77 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.491e-05/0.3107, allocations: 31.7 kB / 1.024 GB, free: 4.355 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006292/0.3113, allocations: 167.4 kB / 1.024 GB, free: 4.191 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.3116, allocations: 179.4 kB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.972e-05/0.3117, allocations: 17.11 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.3119, allocations: 79.7 kB / 1.025 GB, free: 3.918 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.312, allocations: 83.66 kB / 1.025 GB, free: 3.836 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.3121, allocations: 12 kB / 1.025 GB, free: 3.824 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003734/0.3124, allocations: 151.8 kB / 1.025 GB, free: 3.676 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.976e-05/0.3125, allocations: 31.89 kB / 1.025 GB, free: 3.645 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.525e-05/0.3126, allocations: 71.66 kB / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004351/0.313, allocations: 243.3 kB / 1.025 GB, free: 3.336 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.313, allocations: 3.938 kB / 1.025 GB, free: 3.332 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3131, allocations: 3.938 kB / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.3131, allocations: 4 kB / 1.025 GB, free: 3.324 MB / 0.795 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.000885/0.314, allocations: 475 kB / 1.026 GB, free: 2.812 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.314, allocations: 8.031 kB / 1.026 GB, free: 2.805 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.005e-05/0.3141, allocations: 16.75 kB / 1.026 GB, free: 2.789 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.3142, allocations: 180.1 kB / 1.026 GB, free: 2.574 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.3142, allocations: 8.375 kB / 1.026 GB, free: 2.566 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.3143, allocations: 8.375 kB / 1.026 GB, free: 2.559 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.3146, allocations: 121.7 kB / 1.026 GB, free: 2.434 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3146, allocations: 3.938 kB / 1.026 GB, free: 2.43 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3146, allocations: 4 kB / 1.026 GB, free: 2.426 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3146, allocations: 4 kB / 1.026 GB, free: 2.422 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003807/0.315, allocations: 143.8 kB / 1.026 GB, free: 2.281 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009694/0.316, allocations: 464.5 kB / 1.026 GB, free: 1.777 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.3163, allocations: 126.5 kB / 1.027 GB, free: 1.645 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.3165, allocations: 76.75 kB / 1.027 GB, free: 1.566 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001396/0.3179, allocations: 0.9606 MB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.3179, allocations: 34.56 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.318, allocations: 0 / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0006744/0.3186, allocations: 217.2 kB / 1.028 GB, free: 212 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.3187, allocations: 55.41 kB / 1.028 GB, free: 144 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.3189, allocations: 161.5 kB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.3189, allocations: 25.7 kB / 1.028 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.647e-05/0.319, allocations: 116.2 kB / 1.028 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.319, allocations: 43.36 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.15e-05/0.3191, allocations: 53.69 kB / 1.028 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3192, allocations: 326.8 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.3195, allocations: 75.89 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.3197, allocations: 110.2 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/0.3201, allocations: 177.9 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3201, allocations: 0 / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005618/0.3207, allocations: 251.1 kB / 1.029 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3207, allocations: 4 kB / 1.029 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3207, allocations: 0 / 1.029 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.3208, allocations: 7.938 kB / 1.029 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.321, allocations: 51.91 kB / 1.029 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.3211, allocations: 96 / 1.029 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.3212, allocations: 43.66 kB / 1.029 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.3213, allocations: 12 kB / 1.029 GB, free: 14.65 MB / 0.8106 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.8e-05/0.3214, allocations: 121.8 kB / 1.029 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.3214, allocations: 11.81 kB / 1.029 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004697/0.3219, allocations: 182.9 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3219, allocations: 0 / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3219, allocations: 0 / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3219, allocations: 4 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.3222, allocations: 209.6 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.3222, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.3223, allocations: 31.91 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3224, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.3224, allocations: 11.94 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3224, allocations: 0 / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3224, allocations: 7.938 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/0.3228, allocations: 259.7 kB / 1.03 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.947e-05/0.3229, allocations: 93 kB / 1.03 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.3229, allocations: 11.94 kB / 1.03 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.3231, allocations: 19.92 kB / 1.03 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.3231, allocations: 11.98 kB / 1.03 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.3232, allocations: 3.938 kB / 1.03 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.946e-05/0.3233, allocations: 112 kB / 1.03 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3233, allocations: 0 / 1.03 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003497/0.3236, allocations: 68.3 kB / 1.03 GB, free: 13.42 MB / 0.8106 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.0003117/0.3239, allocations: 155.7 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004937/0.3244, allocations: 164 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3245, allocations: 4 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.3247, allocations: 71.89 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.3251, allocations: 25.28 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005138/0.3256, allocations: 257 kB / 1.031 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.3259, allocations: 0.7083 MB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.421e-05/0.326, allocations: 24.14 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.326, allocations: 23.42 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of SimCode: time 5.01e-07/0.326, allocations: 0 / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of Templates: time 0.006041/0.3321, allocations: 2.72 MB / 1.034 GB, free: 9.25 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (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 & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/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) Reference file matches