Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.00182/0.00182, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002288/0.002288, allocations: 194 kB / 16.53 MB, free: 6.391 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.321/2.321, allocations: 390.2 MB / 0.6646 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 64.05 kB / 0.8125 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.639/0.6405, allocations: 140.4 MB / 0.9496 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003817/0.6444, allocations: 2.146 MB / 0.9517 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.6461, allocations: 1.027 MB / 0.9527 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.6462, allocations: 7.844 kB / 0.9527 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.608e-05/0.6463, allocations: 27.67 kB / 0.9527 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.6466, allocations: 78.06 kB / 0.9528 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003812/0.647, allocations: 200.9 kB / 0.953 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000274/0.6473, allocations: 288.3 kB / 0.9533 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.6475, allocations: 73.27 kB / 0.9533 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.6476, allocations: 112.4 kB / 0.9534 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.6478, allocations: 142.8 kB / 0.9536 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.497e-05/0.6479, allocations: 22.03 kB / 0.9536 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003885/0.6483, allocations: 295.2 kB / 0.9539 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.509e-05/0.6483, allocations: 45.7 kB / 0.9539 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.6484, allocations: 123.8 kB / 0.954 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003556/0.6488, allocations: 324.4 kB / 0.9544 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6488, allocations: 0 / 0.9544 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6488, allocations: 0 / 0.9544 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.6488, allocations: 5.406 kB / 0.9544 GB, free: 5.668 MB / 0.7169 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.00102/0.6498, allocations: 0.6284 MB / 0.955 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.6499, allocations: 10.66 kB / 0.955 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/0.6501, allocations: 34.69 kB / 0.955 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.6504, allocations: 277.2 kB / 0.9553 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.6504, allocations: 9.688 kB / 0.9553 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.6505, allocations: 21.91 kB / 0.9553 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005191/0.651, allocations: 225.3 kB / 0.9555 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.651, allocations: 0 / 0.9555 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.6511, allocations: 10.22 kB / 0.9555 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.6511, allocations: 3.312 kB / 0.9555 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006856/0.6518, allocations: 198.8 kB / 0.9557 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.6528, allocations: 0.9427 MB / 0.9566 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007581/0.6536, allocations: 244.5 kB / 0.9569 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/0.6539, allocations: 113.6 kB / 0.957 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.6539, allocations: 1.812 kB / 0.957 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.654, allocations: 36.31 kB / 0.957 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.654, allocations: 0 / 0.957 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001125/0.6551, allocations: 338.5 kB / 0.9573 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.6551, allocations: 78.48 kB / 0.9574 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.6554, allocations: 271 kB / 0.9577 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.6554, allocations: 27.08 kB / 0.9577 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.6555, allocations: 156.6 kB / 0.9579 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.6555, allocations: 54.08 kB / 0.9579 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.335e-05/0.6556, allocations: 42.98 kB / 0.958 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.809e-05/0.6556, allocations: 341.4 kB / 0.9583 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.656, allocations: 86.11 kB / 0.9584 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/0.6563, allocations: 142.7 kB / 0.9585 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006616/0.657, allocations: 247.2 kB / 0.9587 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.657, allocations: 4.969 kB / 0.9587 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008489/0.6578, allocations: 287.9 kB / 0.959 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.6579, allocations: 10.97 kB / 0.959 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.6579, allocations: 3.078 kB / 0.959 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.6579, allocations: 6.312 kB / 0.959 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.6582, allocations: 59.3 kB / 0.9591 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.6582, allocations: 1.969 kB / 0.9591 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.6585, allocations: 41.67 kB / 0.9591 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.6585, allocations: 9.969 kB / 0.9591 GB, free: 1.844 MB / 0.7169 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 9.117e-05/0.6586, allocations: 134.8 kB / 0.9593 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.6587, allocations: 25.69 kB / 0.9593 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008182/0.6595, allocations: 293.8 kB / 0.9596 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.6595, allocations: 3.156 kB / 0.9596 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6595, allocations: 0 / 0.9596 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.6596, allocations: 1.094 kB / 0.9596 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.6599, allocations: 302 kB / 0.9599 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6599, allocations: 5 kB / 0.9599 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.6602, allocations: 62.22 kB / 0.9599 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.6602, allocations: 1.125 kB / 0.9599 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.6602, allocations: 6.156 kB / 0.9599 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.6602, allocations: 1.125 kB / 0.9599 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.6602, allocations: 0 / 0.9599 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008233/0.661, allocations: 459.2 kB / 0.9604 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.6611, allocations: 104 kB / 0.9605 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.6611, allocations: 2.062 kB / 0.9605 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002675/0.6614, allocations: 24.97 kB / 0.9605 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-05/0.6615, allocations: 19.62 kB / 0.9605 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.6615, allocations: 7.906 kB / 0.9605 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001585/0.6617, allocations: 190.9 kB / 0.9607 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6617, allocations: 0 / 0.9607 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003691/0.6621, allocations: 62.97 kB / 0.9608 GB, free: 0.5898 MB / 0.7169 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.0002114/0.6623, allocations: 117.9 kB / 0.9609 GB, free: 500 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007763/0.6631, allocations: 234.5 kB / 0.9611 GB, free: 396 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6631, allocations: 1.094 kB / 0.9611 GB, free: 396 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003577/0.6635, allocations: 117.7 kB / 0.9612 GB, free: 348 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006048/0.6641, allocations: 75.47 kB / 0.9613 GB, free: 304 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007536/0.6648, allocations: 442.2 kB / 0.9617 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.6651, allocations: 0.75 MB / 0.9624 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001495/0.6653, allocations: 35.89 kB / 0.9625 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.811e-05/0.6654, allocations: 26.22 kB / 0.9625 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.6654, allocations: 0 / 0.9625 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of Templates: time 0.008252/0.6736, allocations: 3.948 MB / 0.9664 GB, free: 13.3 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches