Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.007689/0.007689, allocations: 100.3 kB / 15.73 MB, free: 6.012 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.001662/0.001662, allocations: 185.8 kB / 16.67 MB, free: 5.934 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.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.467/2.467, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001383, allocations: 63.89 kB / 1.019 GB, free: 9.301 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8263/0.8277, allocations: 151.6 MB / 1.167 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002894/0.8306, allocations: 2.17 MB / 1.169 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.8321, allocations: 1.033 MB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.8323, allocations: 4 kB / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.586e-05/0.8324, allocations: 27.66 kB / 1.17 GB, free: 500 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.8327, allocations: 91.22 kB / 1.17 GB, free: 408 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000384/0.8331, allocations: 179.6 kB / 1.17 GB, free: 228 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.8334, allocations: 302.9 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.8336, allocations: 52.73 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.8337, allocations: 111.5 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.834, allocations: 139.3 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.587e-05/0.8341, allocations: 20 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004692/0.8345, allocations: 295.6 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 5.933e-05/0.8346, allocations: 51.77 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.8347, allocations: 115.3 kB / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005157/0.8353, allocations: 343 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.8353, allocations: 0 / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.215e-06/0.8353, allocations: 0 / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.8353, allocations: 0 / 1.171 GB, free: 14.82 MB / 0.9044 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.001292/0.8366, allocations: 0.6307 MB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.8367, allocations: 8.625 kB / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002571/0.8369, allocations: 44.67 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.8373, allocations: 295.7 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.8374, allocations: 8.656 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.8374, allocations: 16.38 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005787/0.838, allocations: 237.5 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.838, allocations: 3.984 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.838, allocations: 4 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.8381, allocations: 4 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006607/0.8387, allocations: 201.1 kB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.8398, allocations: 0.9502 MB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007637/0.8406, allocations: 233.2 kB / 1.174 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.8409, allocations: 109.6 kB / 1.174 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.841, allocations: 7.938 kB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.841, allocations: 34.56 kB / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.841, allocations: 3.938 kB / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.001172/0.8422, allocations: 341.8 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.8422, allocations: 89.03 kB / 1.175 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.8425, allocations: 259 kB / 1.175 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.8425, allocations: 29.7 kB / 1.175 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.8426, allocations: 172.2 kB / 1.175 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.8427, allocations: 51.53 kB / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.212e-05/0.8427, allocations: 49.56 kB / 1.175 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.8429, allocations: 330.8 kB / 1.175 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.8432, allocations: 95.92 kB / 1.175 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.8435, allocations: 142.9 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006364/0.8441, allocations: 233.7 kB / 1.176 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.8442, allocations: 4 kB / 1.176 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007899/0.845, allocations: 293.1 kB / 1.176 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.845, allocations: 8 kB / 1.176 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.845, allocations: 0 / 1.176 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.845, allocations: 4 kB / 1.176 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.8453, allocations: 64.11 kB / 1.176 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.8453, allocations: 7.922 kB / 1.176 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.8455, allocations: 43.81 kB / 1.176 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.8456, allocations: 4 kB / 1.176 GB, free: 9.566 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.8457, allocations: 136 kB / 1.176 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.8458, allocations: 27.8 kB / 1.176 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007978/0.8466, allocations: 295.1 kB / 1.177 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.8466, allocations: 0 / 1.177 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.8466, allocations: 4 kB / 1.177 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.8466, allocations: 7.984 kB / 1.177 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/0.847, allocations: 293.4 kB / 1.177 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.847, allocations: 3.938 kB / 1.177 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.8472, allocations: 55.89 kB / 1.177 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.8472, allocations: 0 / 1.177 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.8472, allocations: 7.938 kB / 1.177 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.8473, allocations: 4 kB / 1.177 GB, free: 8.684 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.8473, allocations: 480 / 1.177 GB, free: 8.684 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008005/0.8481, allocations: 444.1 kB / 1.177 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.986e-05/0.8481, allocations: 104.9 kB / 1.178 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.8482, allocations: 12 kB / 1.178 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.8485, allocations: 31.95 kB / 1.178 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.637e-05/0.8485, allocations: 16.27 kB / 1.178 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.8486, allocations: 4 kB / 1.178 GB, free: 8.051 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001546/0.8487, allocations: 190 kB / 1.178 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8487, allocations: 3.938 kB / 1.178 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003424/0.8491, allocations: 55.94 kB / 1.178 GB, free: 7.812 MB / 0.9044 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 (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.0001872/0.8493, allocations: 127.1 kB / 1.178 GB, free: 7.68 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008903/0.8502, allocations: 227.9 kB / 1.178 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8502, allocations: 0 / 1.178 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.8505, allocations: 119.8 kB / 1.178 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/0.8511, allocations: 81.47 kB / 1.178 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007226/0.8518, allocations: 438.7 kB / 1.179 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.8521, allocations: 0.7519 MB / 1.18 GB, free: 6.016 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001415/0.8523, allocations: 30.28 kB / 1.18 GB, free: 5.984 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.49e-05/0.8523, allocations: 27.44 kB / 1.18 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/0.8523, allocations: 0 / 1.18 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of Templates: time 0.007242/0.8596, allocations: 3.963 MB / 1.183 GB, free: 2.066 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches