Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01045/0.01045, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.00216/0.00216, allocations: 194.4 kB / 16.79 MB, free: 5.809 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.489/1.489, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.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.65/2.65, allocations: 437 MB / 0.7106 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 63.91 kB / 0.8692 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8168/0.8183, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003059/0.8214, allocations: 1.675 MB / 1.019 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.823, allocations: 0.9319 MB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.903e-05/0.8231, allocations: 0 / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.178e-05/0.8232, allocations: 15.92 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.8234, allocations: 15.84 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.8237, allocations: 99.75 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.8238, allocations: 71.8 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.824, allocations: 16 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.955e-05/0.8241, allocations: 27.86 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.8242, allocations: 35.75 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.8242, allocations: 4 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003593/0.8246, allocations: 283.6 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/0.8246, allocations: 11.92 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4e-05/0.8247, allocations: 23.81 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.8248, allocations: 109.8 kB / 1.021 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.8249, allocations: 0 / 1.021 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.22e-07/0.8249, allocations: 4 kB / 1.021 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.8249, allocations: 0 / 1.021 GB, free: 15.46 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005773/0.8254, allocations: 399.3 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.8255, allocations: 8.031 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.8256, allocations: 12.84 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.8258, allocations: 193.9 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.8258, allocations: 4.375 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.8259, allocations: 4.375 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.826, allocations: 69.97 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.8261, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.8261, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.8261, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.8262, allocations: 47.95 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.8267, allocations: 296.8 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.8269, allocations: 54.48 kB / 1.022 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.265e-05/0.8269, allocations: 32.97 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.827, allocations: 0 / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.827, allocations: 34.56 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.827, allocations: 0 / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003756/0.8274, allocations: 109.5 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.8274, allocations: 59.34 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.8275, allocations: 129.8 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.8276, allocations: 25.7 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.8276, allocations: 99.98 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.8277, allocations: 19.8 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.8277, allocations: 17.72 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.8278, allocations: 326.8 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.76e-05/0.8279, allocations: 19.98 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.569e-05/0.828, allocations: 19.98 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.8281, allocations: 57.2 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.8281, allocations: 4 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002049/0.8283, allocations: 93.52 kB / 1.023 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.8284, allocations: 10.17 kB / 1.023 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.8284, allocations: 4 kB / 1.023 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.8284, allocations: 0 / 1.023 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.8285, allocations: 11.98 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.8285, allocations: 0 / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.877e-05/0.8286, allocations: 4 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.8286, allocations: 4 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 8.623e-05/0.8287, allocations: 121.8 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.8288, allocations: 7.891 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.829, allocations: 105.9 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.829, allocations: 0 / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.829, allocations: 0 / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.8291, allocations: 0 / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.8292, allocations: 193.6 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.8293, allocations: 7.984 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.395e-05/0.8293, allocations: 12 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.8294, allocations: 0 / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.8294, allocations: 7.922 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.8294, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.8294, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.8296, allocations: 191.3 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.8297, allocations: 89 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.8297, allocations: 192 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.884e-05/0.8298, allocations: 8 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.8299, allocations: 7.984 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.8299, allocations: 4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.021e-05/0.8299, allocations: 95.27 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8299, allocations: 0 / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002446/0.8302, allocations: 28 kB / 1.023 GB, free: 12.14 MB / 0.7794 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 (6): * Single equations (assignments): 6 * 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.0002001/0.8304, allocations: 119.2 kB / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002318/0.8306, allocations: 59.84 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8306, allocations: 0 / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.554e-05/0.8307, allocations: 35.91 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.831, allocations: 8 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/0.8315, allocations: 231.6 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.8317, allocations: 0.6926 MB / 1.025 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.8318, allocations: 15.42 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of SimCode: time 2.004e-06/0.8318, allocations: 7.938 kB / 1.025 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of Templates: time 0.002852/0.8347, allocations: 1.114 MB / 1.026 GB, free: 9.82 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches