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.001445/0.001445, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001781/0.001781, allocations: 195 kB / 16.14 MB, free: 6.648 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.604/1.604, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.327/2.327, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.89 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7052/0.7065, allocations: 140.4 MB / 0.9489 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002889/0.7094, allocations: 2.203 MB / 0.9511 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.7108, allocations: 1.057 MB / 0.9521 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.711, allocations: 7.344 kB / 0.9521 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.338e-05/0.711, allocations: 15.8 kB / 0.9521 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.7113, allocations: 78.3 kB / 0.9522 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.7116, allocations: 144.8 kB / 0.9523 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.7118, allocations: 277.3 kB / 0.9526 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.712, allocations: 67.58 kB / 0.9527 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.7121, allocations: 95.42 kB / 0.9528 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.7123, allocations: 139.4 kB / 0.9529 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.7124, allocations: 10.22 kB / 0.9529 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003887/0.7128, allocations: 291.1 kB / 0.9532 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.504e-05/0.7128, allocations: 45.81 kB / 0.9532 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.497e-05/0.7129, allocations: 109.2 kB / 0.9533 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003654/0.7133, allocations: 320.2 kB / 0.9536 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7133, allocations: 1.406 kB / 0.9536 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.81e-07/0.7133, allocations: 3.938 kB / 0.9536 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.7133, allocations: 0 / 0.9536 GB, free: 5.598 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.7143, allocations: 0.6246 MB / 0.9543 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.7144, allocations: 8.469 kB / 0.9543 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002547/0.7147, allocations: 43.98 kB / 0.9543 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.7149, allocations: 277.2 kB / 0.9546 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.715, allocations: 14.41 kB / 0.9546 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.715, allocations: 22.5 kB / 0.9546 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005128/0.7155, allocations: 220.6 kB / 0.9548 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.7155, allocations: 11.92 kB / 0.9548 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.7155, allocations: 6.031 kB / 0.9548 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.7156, allocations: 4.031 kB / 0.9548 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006378/0.7162, allocations: 195 kB / 0.955 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009593/0.7172, allocations: 0.9378 MB / 0.9559 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007476/0.7179, allocations: 251.7 kB / 0.9562 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.7182, allocations: 106.8 kB / 0.9563 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.7183, allocations: 1.875 kB / 0.9563 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.7183, allocations: 32.31 kB / 0.9563 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.7183, allocations: 0 / 0.9563 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001131/0.7194, allocations: 341.3 kB / 0.9566 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.7195, allocations: 80.67 kB / 0.9567 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.7197, allocations: 266.1 kB / 0.957 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.7197, allocations: 31.02 kB / 0.957 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.017e-05/0.7198, allocations: 160.6 kB / 0.9572 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.7198, allocations: 54.08 kB / 0.9572 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.548e-05/0.7199, allocations: 39.45 kB / 0.9572 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.682e-05/0.72, allocations: 336.3 kB / 0.9576 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/0.7203, allocations: 94.78 kB / 0.9577 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/0.7206, allocations: 138.2 kB / 0.9578 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006309/0.7213, allocations: 244.3 kB / 0.958 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7213, allocations: 3.938 kB / 0.958 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007853/0.7221, allocations: 292.2 kB / 0.9583 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.7221, allocations: 6.281 kB / 0.9583 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.7221, allocations: 1.031 kB / 0.9583 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.7221, allocations: 3.25 kB / 0.9583 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.7224, allocations: 62.72 kB / 0.9584 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.7224, allocations: 2.406 kB / 0.9584 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.7227, allocations: 41.62 kB / 0.9584 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.7227, allocations: 10.31 kB / 0.9584 GB, free: 1.773 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.158e-05/0.7228, allocations: 135.1 kB / 0.9585 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.7229, allocations: 28.5 kB / 0.9586 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000783/0.7237, allocations: 294.4 kB / 0.9589 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.7237, allocations: 2.812 kB / 0.9589 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7237, allocations: 1.062 kB / 0.9589 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.7237, allocations: 5.109 kB / 0.9589 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.724, allocations: 297.8 kB / 0.9591 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7241, allocations: 4 kB / 0.9592 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.7243, allocations: 50.7 kB / 0.9592 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.7244, allocations: 0.9375 kB / 0.9592 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.7244, allocations: 10.19 kB / 0.9592 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.7244, allocations: 5 kB / 0.9592 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7244, allocations: 1.062 kB / 0.9592 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007699/0.7252, allocations: 446.4 kB / 0.9596 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.7252, allocations: 104 kB / 0.9597 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.284e-05/0.7253, allocations: 1.594 kB / 0.9597 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/0.7256, allocations: 34.14 kB / 0.9598 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.7256, allocations: 18.91 kB / 0.9598 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.7257, allocations: 4.281 kB / 0.9598 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001646/0.7258, allocations: 194.8 kB / 0.96 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7258, allocations: 0 / 0.96 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003917/0.7262, allocations: 58.94 kB / 0.96 GB, free: 0.5312 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.0002337/0.7265, allocations: 114.8 kB / 0.9602 GB, free: 444 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007524/0.7272, allocations: 220.8 kB / 0.9604 GB, free: 352 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7272, allocations: 4.312 kB / 0.9604 GB, free: 348 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003623/0.7276, allocations: 121.4 kB / 0.9605 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000641/0.7283, allocations: 76.83 kB / 0.9606 GB, free: 252 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008917/0.7292, allocations: 0.5137 MB / 0.9611 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.7295, allocations: 0.7548 MB / 0.9618 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001537/0.7297, allocations: 24.02 kB / 0.9618 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.771e-05/0.7298, allocations: 21.34 kB / 0.9618 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of SimCode: time 4.01e-07/0.7298, allocations: 0 / 0.9618 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of Templates: time 0.00778/0.7376, allocations: 3.574 MB / 0.9653 GB, free: 13.36 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