Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001238/0.001238, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.001267/0.001267, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.424/1.424, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.309/2.309, allocations: 390.2 MB / 0.665 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 61.61 kB / 0.8127 GB, free: 32.51 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3128, allocations: 140.4 MB / 0.9498 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007759/0.3206, allocations: 4.619 MB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.3219, allocations: 0.8108 MB / 0.9551 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.322, allocations: 3.938 kB / 0.9551 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.3223, allocations: 23.91 kB / 0.9551 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.3224, allocations: 31.7 kB / 0.9551 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006941/0.3231, allocations: 159.5 kB / 0.9553 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.3234, allocations: 175.4 kB / 0.9555 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.3235, allocations: 20.89 kB / 0.9555 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.3238, allocations: 79.75 kB / 0.9556 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.3239, allocations: 79.69 kB / 0.9556 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.324, allocations: 12 kB / 0.9556 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004059/0.3244, allocations: 159.7 kB / 0.9558 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.432e-05/0.3244, allocations: 23.92 kB / 0.9558 GB, free: 3 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.63e-05/0.3245, allocations: 71.7 kB / 0.9559 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.3249, allocations: 171.8 kB / 0.956 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3249, allocations: 0 / 0.956 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3249, allocations: 0 / 0.956 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.3249, allocations: 4 kB / 0.956 GB, free: 2.758 MB / 0.7325 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.001026/0.3259, allocations: 475 kB / 0.9565 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.326, allocations: 12.03 kB / 0.9565 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.105e-05/0.3261, allocations: 12.75 kB / 0.9565 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.3263, allocations: 188.2 kB / 0.9567 GB, free: 2 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.3263, allocations: 8.375 kB / 0.9567 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.3263, allocations: 15.94 kB / 0.9567 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.3267, allocations: 119.8 kB / 0.9568 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.3267, allocations: 0 / 0.9568 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.3267, allocations: 4 kB / 0.9568 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3267, allocations: 0 / 0.9568 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004044/0.3272, allocations: 143.9 kB / 0.957 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.3282, allocations: 468.3 kB / 0.9574 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.3286, allocations: 122.5 kB / 0.9575 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.3288, allocations: 72.81 kB / 0.9576 GB, free: 1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/0.3302, allocations: 0.9644 MB / 0.9586 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.3303, allocations: 42.48 kB / 0.9586 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.3303, allocations: 0 / 0.9586 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12): time 0.0006984/0.331, allocations: 213.3 kB / 0.9588 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.3311, allocations: 55.34 kB / 0.9589 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.3312, allocations: 165 kB / 0.959 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.3313, allocations: 29.7 kB / 0.959 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.876e-05/0.3313, allocations: 112.3 kB / 0.9591 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.3314, allocations: 39.38 kB / 0.9592 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-05/0.3315, allocations: 49.69 kB / 0.9592 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3316, allocations: 330.8 kB / 0.9595 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.3319, allocations: 67.95 kB / 0.9596 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.3321, allocations: 117.3 kB / 0.9597 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004337/0.3326, allocations: 181.4 kB / 0.9599 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3326, allocations: 0 / 0.9599 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005626/0.3331, allocations: 243.2 kB / 0.9601 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3332, allocations: 11.94 kB / 0.9601 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3332, allocations: 0 / 0.9601 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3332, allocations: 0 / 0.9601 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.3335, allocations: 59.95 kB / 0.9602 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.3335, allocations: 3.938 kB / 0.9602 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.3337, allocations: 35.67 kB / 0.9602 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.3337, allocations: 4.094 kB / 0.9602 GB, free: 14.09 MB / 0.7481 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.0001177/0.3338, allocations: 125.8 kB / 0.9604 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.3339, allocations: 11.84 kB / 0.9604 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004848/0.3344, allocations: 187.1 kB / 0.9606 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3344, allocations: 0 / 0.9606 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3344, allocations: 4 kB / 0.9606 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3344, allocations: 0 / 0.9606 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.3346, allocations: 217.6 kB / 0.9608 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3346, allocations: 0 / 0.9608 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.3348, allocations: 27.98 kB / 0.9608 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3348, allocations: 7.875 kB / 0.9608 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3348, allocations: 0 / 0.9608 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3348, allocations: 3.984 kB / 0.9608 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3348, allocations: 4 kB / 0.9608 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004551/0.3353, allocations: 267.1 kB / 0.9611 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.946e-05/0.3354, allocations: 96.94 kB / 0.9612 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.3354, allocations: 0 / 0.9612 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.3356, allocations: 15.98 kB / 0.9612 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.3356, allocations: 11.98 kB / 0.9612 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.3356, allocations: 4 kB / 0.9612 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.279e-05/0.3357, allocations: 121.6 kB / 0.9613 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3357, allocations: 0 / 0.9613 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003772/0.3361, allocations: 64.3 kB / 0.9614 GB, free: 12.84 MB / 0.7481 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.0003367/0.3365, allocations: 159 kB / 0.9615 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005024/0.337, allocations: 171.7 kB / 0.9617 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.337, allocations: 4 kB / 0.9617 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.3372, allocations: 68.08 kB / 0.9617 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.3376, allocations: 23.98 kB / 0.9618 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005303/0.3382, allocations: 314.9 kB / 0.9621 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.3384, allocations: 0.7045 MB / 0.9628 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.815e-05/0.3385, allocations: 19.44 kB / 0.9628 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of SimCode: time 4.8e-07/0.3385, allocations: 4 kB / 0.9628 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of Templates: time 0.004985/0.3435, allocations: 2.555 MB / 0.9653 GB, free: 8.789 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches