Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_9_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_9_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.007848/0.007848, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001651/0.001651, allocations: 186.1 kB / 16.67 MB, free: 5.969 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.501/1.501, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.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.458/2.458, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 69.23 kB / 0.9509 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2646, allocations: 140.4 MB / 1.088 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002354/0.267, allocations: 1.607 MB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.2683, allocations: 0.902 MB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.324e-05/0.2683, allocations: 4 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.081e-05/0.2684, allocations: 7.922 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.2686, allocations: 27.78 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.2689, allocations: 140.8 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.269, allocations: 79.64 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.936e-05/0.2691, allocations: 19.98 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.697e-05/0.2692, allocations: 27.92 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.2693, allocations: 39.83 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.2694, allocations: 4 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003485/0.2697, allocations: 283.6 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.031e-05/0.2697, allocations: 15.92 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.57e-05/0.2698, allocations: 27.81 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.27, allocations: 151.6 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.27, allocations: 7.938 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.372e-06/0.27, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.27, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 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.000497/0.2705, allocations: 411.1 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.2706, allocations: 8.031 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.2707, allocations: 12.84 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.2709, allocations: 185.8 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.2709, allocations: 8.375 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.2709, allocations: 7.938 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.2711, allocations: 61.66 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.2711, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.2711, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2711, allocations: 3.938 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.2713, allocations: 43.91 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.2717, allocations: 304.7 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.2719, allocations: 54.55 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.98e-05/0.272, allocations: 32.95 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.272, allocations: 0 / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.272, allocations: 38.56 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 2.084e-06/0.272, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0003447/0.2724, allocations: 101.6 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.2724, allocations: 51.41 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.2725, allocations: 135.1 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.2726, allocations: 25.7 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.745e-05/0.2726, allocations: 96.12 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.2726, allocations: 27.69 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.2727, allocations: 21.7 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.252e-05/0.2728, allocations: 314.8 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.086e-05/0.2729, allocations: 23.98 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-05/0.273, allocations: 27.97 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.2731, allocations: 48.78 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2731, allocations: 8 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002149/0.2733, allocations: 89.94 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2734, allocations: 4 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.2734, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.2734, allocations: 64 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.2735, allocations: 23.98 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2735, allocations: 0 / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.362e-05/0.2736, allocations: 11.92 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.2736, allocations: 4 kB / 1.093 GB, free: 11.75 MB / 0.8575 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.411e-05/0.2737, allocations: 119.8 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.2737, allocations: 7.906 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.274, allocations: 93.95 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.274, allocations: 4 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.274, allocations: 0 / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.274, allocations: 3.938 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.2742, allocations: 185.7 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2742, allocations: 0 / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.482e-05/0.2743, allocations: 19.92 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2743, allocations: 0 / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.2743, allocations: 4 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2743, allocations: 0 / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.2743, allocations: 4 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.2746, allocations: 195.3 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.2746, allocations: 81.02 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.2746, allocations: 4 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.533e-05/0.2747, allocations: 3.984 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.2748, allocations: 4 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.2748, allocations: 3.938 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.4e-05/0.2748, allocations: 109.3 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2748, allocations: 0 / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002411/0.2751, allocations: 23.94 kB / 1.094 GB, free: 10.8 MB / 0.8575 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.0001712/0.2753, allocations: 115.8 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.2755, allocations: 60.02 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2755, allocations: 0 / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.494e-05/0.2756, allocations: 32.11 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.2759, allocations: 19.91 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.2763, allocations: 196.1 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.2765, allocations: 0.6924 MB / 1.095 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.619e-05/0.2765, allocations: 7.75 kB / 1.095 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.2766, allocations: 15.42 kB / 1.095 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.2766, allocations: 0 / 1.095 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of Templates: time 0.003179/0.2797, allocations: 1.092 MB / 1.096 GB, free: 8.527 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches