Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001162/0.001162, allocations: 111.5 kB / 16.37 MB, free: 6.004 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.001174/0.001174, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.42/2.42, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.58 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.28, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002951/0.283, allocations: 1.621 MB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.2845, allocations: 0.9044 MB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.248e-05/0.2846, allocations: 7.875 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.767e-05/0.2846, allocations: 11.86 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.2849, allocations: 23.78 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.2853, allocations: 139.6 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.2854, allocations: 67.78 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2855, allocations: 19.98 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.414e-05/0.2856, allocations: 39.78 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.2858, allocations: 31.84 kB / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.2858, allocations: 4 kB / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000394/0.2862, allocations: 283.7 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.2862, allocations: 19.91 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.271e-05/0.2863, allocations: 27.86 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.2866, allocations: 151.6 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2866, allocations: 3.938 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2866, allocations: 0 / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.2866, allocations: 0 / 1.03 GB, free: 14.66 MB / 0.8106 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.0005549/0.2872, allocations: 407.1 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.2872, allocations: 8.031 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.2873, allocations: 16.84 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.2876, allocations: 192.1 kB / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.2876, allocations: 384 / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.2876, allocations: 8.375 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.2878, allocations: 65.97 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.2878, allocations: 0 / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.2878, allocations: 0 / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.2878, allocations: 4 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.288, allocations: 43.97 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.2884, allocations: 304.6 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.2886, allocations: 54.55 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.208e-05/0.2887, allocations: 32.97 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.2887, allocations: 0 / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.2887, allocations: 34.56 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.2887, allocations: 0 / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0003737/0.2891, allocations: 101.6 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.2891, allocations: 51.41 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.99e-05/0.2892, allocations: 137.7 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.2893, allocations: 25.7 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.2893, allocations: 96.12 kB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.2893, allocations: 19.75 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.2894, allocations: 21.7 kB / 1.032 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.262e-05/0.2895, allocations: 318.8 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.71e-05/0.2896, allocations: 31.91 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.403e-05/0.2896, allocations: 19.98 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.2898, allocations: 56.83 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2898, allocations: 0 / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002058/0.29, allocations: 97.45 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.29, allocations: 4 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.29, allocations: 0 / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.2901, allocations: 0 / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.2902, allocations: 15.98 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2902, allocations: 4 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.229e-05/0.2903, allocations: 8.422 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.2903, allocations: 0 / 1.032 GB, free: 12.3 MB / 0.8106 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.471e-05/0.2904, allocations: 121.7 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.2904, allocations: 7.906 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.2907, allocations: 109.9 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2907, allocations: 4 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2907, allocations: 0 / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.2907, allocations: 0 / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.2909, allocations: 181.6 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2909, allocations: 0 / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.016e-05/0.291, allocations: 19.98 kB / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.291, allocations: 0 / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.291, allocations: 0 / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.291, allocations: 4 kB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.291, allocations: 3.984 kB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.2912, allocations: 195.3 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.2913, allocations: 85.02 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.2913, allocations: 3.984 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.854e-05/0.2914, allocations: 4 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.2915, allocations: 3.984 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.2915, allocations: 4 kB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.613e-05/0.2915, allocations: 105.3 kB / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2915, allocations: 0 / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002594/0.2918, allocations: 28 kB / 1.033 GB, free: 11.34 MB / 0.8106 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.0002048/0.292, allocations: 111.2 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.2922, allocations: 63.84 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2922, allocations: 0 / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.458e-05/0.2923, allocations: 23.98 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.2926, allocations: 19.92 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.2931, allocations: 204.2 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.2933, allocations: 0.6885 MB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.512e-05/0.2933, allocations: 8 kB / 1.034 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.2934, allocations: 15.42 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.2934, allocations: 0 / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of Templates: time 0.003511/0.2969, allocations: 1.09 MB / 1.035 GB, free: 9.074 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches