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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001085/0.001085, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00111/0.00111, allocations: 195.9 kB / 16.14 MB, free: 6.695 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.296/1.296, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.554/2.554, allocations: 437 MB / 0.7099 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 67.89 kB / 0.8685 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.576/0.5772, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002621/0.5799, allocations: 1.682 MB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.5812, allocations: 0.9358 MB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.435e-05/0.5812, allocations: 4 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.467e-05/0.5813, allocations: 3.938 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.5814, allocations: 19.86 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.5817, allocations: 103.7 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.5818, allocations: 71.72 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.744e-05/0.5819, allocations: 8 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.868e-05/0.582, allocations: 35.84 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.5821, allocations: 35.84 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.5822, allocations: 4 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003493/0.5825, allocations: 279.7 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.5825, allocations: 11.92 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.151e-05/0.5826, allocations: 27.8 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.5828, allocations: 149.6 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.5828, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5828, allocations: 4 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.5828, allocations: 0 / 1.02 GB, free: 15.41 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.000508/0.5833, allocations: 403.2 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.5834, allocations: 12.03 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.5835, allocations: 8.844 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.5836, allocations: 202.2 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.5837, allocations: 8.375 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.5837, allocations: 384 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.5838, allocations: 61.98 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.5839, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.5839, allocations: 4 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.5839, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.584, allocations: 43.95 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.5844, allocations: 300.8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.5846, allocations: 54.48 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.696e-05/0.5847, allocations: 32.97 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.5847, allocations: 8.062 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.5847, allocations: 30.56 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 2.445e-06/0.5847, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003475/0.5851, allocations: 109.4 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.5851, allocations: 55.39 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.657e-05/0.5852, allocations: 133.8 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.5852, allocations: 25.7 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.5853, allocations: 104 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.5853, allocations: 11.81 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.5853, allocations: 21.7 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.154e-05/0.5854, allocations: 326.8 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.792e-05/0.5855, allocations: 19.98 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.654e-05/0.5856, allocations: 19.98 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.5858, allocations: 56.83 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5858, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002146/0.586, allocations: 93.52 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.586, allocations: 5.875 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.586, allocations: 448 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.586, allocations: 4 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.5861, allocations: 11.98 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.5862, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.31e-05/0.5862, allocations: 15.98 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.5862, allocations: 4 kB / 1.022 GB, free: 13.04 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 7.342e-05/0.5863, allocations: 113.8 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.5864, allocations: 7.906 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/0.5866, allocations: 109.9 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.5866, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.5866, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.5866, allocations: 4 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.5868, allocations: 185.5 kB / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5868, allocations: 0 / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.848e-05/0.5869, allocations: 15.98 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5869, allocations: 0 / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.5869, allocations: 4 kB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.5869, allocations: 3.984 kB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5869, allocations: 0 / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.5872, allocations: 191.3 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.5872, allocations: 89 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.5873, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.984e-05/0.5873, allocations: 7.938 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.5874, allocations: 7.922 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.5874, allocations: 4 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.387e-05/0.5875, allocations: 99.27 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5875, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002366/0.5877, allocations: 24 kB / 1.023 GB, free: 12.09 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.0001633/0.5879, allocations: 119.2 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001913/0.5881, allocations: 55.91 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5881, allocations: 0 / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/0.5882, allocations: 32.17 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.5885, allocations: 15.98 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003589/0.5888, allocations: 207.2 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.5891, allocations: 0.6926 MB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.182e-05/0.5891, allocations: 15.91 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.5892, allocations: 11.44 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.5892, allocations: 0 / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of Templates: time 0.003097/0.5923, allocations: 1.016 MB / 1.025 GB, free: 9.887 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/jenkins/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