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.001111/0.001111, allocations: 104.6 kB / 16.35 MB, free: 5.895 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.001119/0.001119, allocations: 192.3 kB / 17.29 MB, free: 5.527 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.18 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.402/2.402, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 64.03 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2784, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003223/0.2817, allocations: 1.612 MB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.2832, allocations: 0.9098 MB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.286e-05/0.2833, allocations: 0 / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.145e-05/0.2833, allocations: 7.922 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002442/0.2836, allocations: 27.8 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.284, allocations: 143.4 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.2841, allocations: 79.64 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.159e-05/0.2842, allocations: 12 kB / 1.022 GB, free: 7.039 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.82e-05/0.2843, allocations: 27.92 kB / 1.022 GB, free: 7.012 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.2845, allocations: 47.77 kB / 1.022 GB, free: 6.965 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.2845, allocations: 4 kB / 1.022 GB, free: 6.961 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003647/0.2848, allocations: 283.6 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.2849, allocations: 15.92 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.2849, allocations: 27.81 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.2852, allocations: 151.6 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2852, allocations: 0 / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.394e-06/0.2852, allocations: 0 / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2852, allocations: 0 / 1.022 GB, free: 6.492 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000557/0.2858, allocations: 411.1 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.2858, allocations: 16.91 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.2859, allocations: 4.938 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.2862, allocations: 191.2 kB / 1.023 GB, free: 5.801 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.2862, allocations: 8.375 kB / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.2862, allocations: 384 / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.2864, allocations: 73.91 kB / 1.023 GB, free: 5.715 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2864, allocations: 0 / 1.023 GB, free: 5.715 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.2864, allocations: 3.984 kB / 1.023 GB, free: 5.711 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2864, allocations: 4 kB / 1.023 GB, free: 5.707 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.2866, allocations: 39.97 kB / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.287, allocations: 296.8 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.2871, allocations: 58.5 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.501e-05/0.2872, allocations: 28.97 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.2873, allocations: 4 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.2873, allocations: 34.55 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 1.123e-06/0.2873, allocations: 0 / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of matching and sorting (n=5): time 0.0003579/0.2877, allocations: 105.6 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.2877, allocations: 55.34 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.366e-05/0.2878, allocations: 129.8 kB / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.2878, allocations: 33.64 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/0.2879, allocations: 96.03 kB / 1.024 GB, free: 4.734 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.2879, allocations: 23.81 kB / 1.024 GB, free: 4.711 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.288, allocations: 21.7 kB / 1.024 GB, free: 4.684 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.697e-05/0.2881, allocations: 322.8 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.428e-05/0.2881, allocations: 23.98 kB / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.73e-05/0.2882, allocations: 19.98 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.2884, allocations: 52.83 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.2884, allocations: 0 / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001988/0.2886, allocations: 89.56 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.2886, allocations: 8 kB / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2886, allocations: 0 / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.2886, allocations: 448 / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.2887, allocations: 23.92 kB / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.2888, allocations: 3.984 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.71e-05/0.2888, allocations: 11.98 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.2888, allocations: 0 / 1.024 GB, free: 4.121 MB / 0.795 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 7e-05/0.2889, allocations: 117.8 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.289, allocations: 11.91 kB / 1.024 GB, free: 3.984 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.2892, allocations: 97.95 kB / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2892, allocations: 0 / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.2892, allocations: 0 / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2892, allocations: 3.938 kB / 1.024 GB, free: 3.879 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.2894, allocations: 181.6 kB / 1.025 GB, free: 3.652 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2894, allocations: 4 kB / 1.025 GB, free: 3.648 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.709e-05/0.2895, allocations: 11.98 kB / 1.025 GB, free: 3.637 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.2895, allocations: 4 kB / 1.025 GB, free: 3.633 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.2895, allocations: 11.94 kB / 1.025 GB, free: 3.621 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.2896, allocations: 0 / 1.025 GB, free: 3.621 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2896, allocations: 0 / 1.025 GB, free: 3.621 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.2898, allocations: 187.4 kB / 1.025 GB, free: 3.422 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.2898, allocations: 85.02 kB / 1.025 GB, free: 3.32 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.2899, allocations: 0 / 1.025 GB, free: 3.32 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.028e-05/0.29, allocations: 11.98 kB / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.29, allocations: 0 / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.29, allocations: 4 kB / 1.025 GB, free: 3.305 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.908e-05/0.2901, allocations: 109.5 kB / 1.025 GB, free: 3.199 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2901, allocations: 0 / 1.025 GB, free: 3.199 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002431/0.2903, allocations: 24 kB / 1.025 GB, free: 3.176 MB / 0.795 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.2905, allocations: 115.2 kB / 1.025 GB, free: 3.051 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001993/0.2907, allocations: 67.83 kB / 1.025 GB, free: 2.984 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2907, allocations: 0 / 1.025 GB, free: 2.984 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.152e-05/0.2908, allocations: 27.92 kB / 1.025 GB, free: 2.957 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.2911, allocations: 20.36 kB / 1.025 GB, free: 2.938 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/0.2915, allocations: 196.1 kB / 1.025 GB, free: 2.723 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.2917, allocations: 0.6924 MB / 1.026 GB, free: 2.004 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.365e-05/0.2918, allocations: 7.984 kB / 1.026 GB, free: 1.996 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.2918, allocations: 11.44 kB / 1.026 GB, free: 1.984 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.2918, allocations: 0 / 1.026 GB, free: 1.984 MB / 0.795 GB Notification: Performance of Templates: time 0.003462/0.2953, allocations: 1.084 MB / 1.027 GB, free: 0.9062 MB / 0.795 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 -s gbode -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