Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001324/0.001324, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.726/2.726, allocations: 462.6 MB / 0.736 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004453/0.0004453, allocations: 15.16 kB / 0.9021 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2628, allocations: 159.6 MB / 1.058 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002041/0.2648, allocations: 1.799 MB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.2662, allocations: 0.9858 MB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.2664, allocations: 7.938 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.514e-05/0.2664, allocations: 11.86 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.2667, allocations: 71.41 kB / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.267, allocations: 130.7 kB / 1.061 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.2673, allocations: 270.7 kB / 1.061 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.2674, allocations: 48.72 kB / 1.061 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.2675, allocations: 87.62 kB / 1.061 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.2677, allocations: 127.4 kB / 1.061 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.2678, allocations: 8 kB / 1.061 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003701/0.2682, allocations: 275.7 kB / 1.062 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.917e-05/0.2682, allocations: 39.83 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.778e-05/0.2683, allocations: 69.52 kB / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.2685, allocations: 223.7 kB / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.2685, allocations: 0 / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2685, allocations: 3.938 kB / 1.062 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2685, allocations: 0 / 1.062 GB, free: 1.066 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009237/0.2695, allocations: 0.6077 MB / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.2695, allocations: 12.03 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/0.2697, allocations: 43.61 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.27, allocations: 266.3 kB / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.27, allocations: 8.281 kB / 1.063 GB, free: 48 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.2701, allocations: 16 kB / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.2706, allocations: 244.7 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2706, allocations: 7.938 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.2707, allocations: 4 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2707, allocations: 4 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006656/0.2713, allocations: 239.8 kB / 1.063 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.2724, allocations: 0.9423 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000749/0.2732, allocations: 265.2 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.2735, allocations: 129.9 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.2735, allocations: 3.984 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.2736, allocations: 38.56 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.2736, allocations: 0 / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001126/0.2747, allocations: 405 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.2748, allocations: 85.11 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.275, allocations: 258.9 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.2751, allocations: 33.7 kB / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.886e-05/0.2752, allocations: 164.1 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.2752, allocations: 51.27 kB / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.14e-05/0.2752, allocations: 4 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.2753, allocations: 334.8 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003212/0.2757, allocations: 111.9 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/0.276, allocations: 161.9 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.2764, allocations: 123.9 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2764, allocations: 0 / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000827/0.2772, allocations: 341.6 kB / 1.067 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.2772, allocations: 7.938 kB / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2772, allocations: 0 / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2773, allocations: 4 kB / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.2776, allocations: 76.02 kB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.2776, allocations: 4 kB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.2778, allocations: 55.8 kB / 1.067 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.2778, allocations: 7.984 kB / 1.067 GB, free: 11.79 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.278, allocations: 137.7 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.2781, allocations: 31.58 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008331/0.2789, allocations: 335.3 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.2789, allocations: 4 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.279, allocations: 0 / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.279, allocations: 0 / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003668/0.2793, allocations: 305.3 kB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.2793, allocations: 4 kB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.2796, allocations: 63.95 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.2796, allocations: 3.953 kB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.2797, allocations: 0 / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2797, allocations: 8 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2797, allocations: 0 / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000823/0.2805, allocations: 486.3 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.2806, allocations: 100.7 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.2806, allocations: 4 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.2809, allocations: 39.95 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.281, allocations: 19.94 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.281, allocations: 4 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001667/0.2812, allocations: 190 kB / 1.069 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2812, allocations: 0 / 1.069 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003644/0.2815, allocations: 64.17 kB / 1.069 GB, free: 9.922 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001757/0.2817, allocations: 115.2 kB / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007297/0.2825, allocations: 271.9 kB / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2825, allocations: 0 / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.2828, allocations: 139.9 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006078/0.2835, allocations: 70.81 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000763/0.2842, allocations: 0.5038 MB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.2845, allocations: 0.748 MB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001638/0.2847, allocations: 34.27 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/0.2848, allocations: 19.44 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.2848, allocations: 0 / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of Templates: time 0.007157/0.2919, allocations: 3.417 MB / 1.074 GB, free: 4.617 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches