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.001208/0.001208, allocations: 113.5 kB / 16.37 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.001284/0.001284, allocations: 191.4 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.476/2.476, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 67.14 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3365, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003383/0.34, allocations: 2.167 MB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001588/0.3416, allocations: 1.037 MB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.3417, allocations: 4 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.377e-05/0.3418, allocations: 23.67 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000285/0.3421, allocations: 83.28 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.3425, allocations: 191.5 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002977/0.3428, allocations: 294.8 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.343, allocations: 64.69 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.3431, allocations: 103.6 kB / 1.031 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.3433, allocations: 143.3 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.3434, allocations: 20 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003735/0.3438, allocations: 295.6 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.255e-05/0.3438, allocations: 47.83 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.3439, allocations: 123.3 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.3443, allocations: 338.7 kB / 1.032 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3443, allocations: 0 / 1.032 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3443, allocations: 0 / 1.032 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.3443, allocations: 3.938 kB / 1.032 GB, free: 13.13 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.001021/0.3453, allocations: 0.6272 MB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.3454, allocations: 12.03 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002157/0.3456, allocations: 36.64 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.346, allocations: 287.4 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.346, allocations: 12.66 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.346, allocations: 12.38 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004664/0.3465, allocations: 237.4 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3465, allocations: 0 / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.3465, allocations: 8 kB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.3465, allocations: 4 kB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000584/0.3471, allocations: 195.8 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.3482, allocations: 0.9423 MB / 1.034 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007171/0.3489, allocations: 241.2 kB / 1.034 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.3492, allocations: 105.6 kB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.3493, allocations: 3.938 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.3493, allocations: 38.56 kB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.3493, allocations: 0 / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.001046/0.3503, allocations: 337.4 kB / 1.035 GB, free: 9.852 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.3504, allocations: 81.11 kB / 1.035 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.3507, allocations: 259 kB / 1.035 GB, free: 9.496 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.3507, allocations: 37.7 kB / 1.035 GB, free: 9.453 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.3508, allocations: 164.1 kB / 1.035 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.3508, allocations: 55.2 kB / 1.035 GB, free: 9.234 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.957e-05/0.3509, allocations: 41.64 kB / 1.035 GB, free: 9.188 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.351, allocations: 334.8 kB / 1.035 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.3513, allocations: 95.91 kB / 1.036 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/0.3517, allocations: 135.3 kB / 1.036 GB, free: 8.605 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005932/0.3523, allocations: 245.7 kB / 1.036 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3523, allocations: 3.938 kB / 1.036 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007562/0.353, allocations: 297 kB / 1.036 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3531, allocations: 4 kB / 1.036 GB, free: 8.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3531, allocations: 4.703 kB / 1.036 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3531, allocations: 0 / 1.036 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.3534, allocations: 63.88 kB / 1.036 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.3534, allocations: 4 kB / 1.036 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.3536, allocations: 39.94 kB / 1.036 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.3537, allocations: 8 kB / 1.036 GB, free: 7.922 MB / 0.8106 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.0001213/0.3538, allocations: 133.7 kB / 1.036 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.3539, allocations: 35.55 kB / 1.036 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007584/0.3547, allocations: 291.1 kB / 1.037 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.3547, allocations: 7.984 kB / 1.037 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3547, allocations: 3.984 kB / 1.037 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3547, allocations: 0 / 1.037 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.3551, allocations: 293.3 kB / 1.037 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3551, allocations: 3.938 kB / 1.037 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.3554, allocations: 59.89 kB / 1.037 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3554, allocations: 0 / 1.037 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.3554, allocations: 8 kB / 1.037 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.3554, allocations: 0 / 1.037 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3554, allocations: 3.984 kB / 1.037 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007547/0.3562, allocations: 440 kB / 1.038 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.156e-05/0.3562, allocations: 108.9 kB / 1.038 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.3563, allocations: 7.984 kB / 1.038 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.3565, allocations: 31.97 kB / 1.038 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/0.3566, allocations: 23.91 kB / 1.038 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.3566, allocations: 4 kB / 1.038 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002041/0.3568, allocations: 194 kB / 1.038 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.2e-07/0.3569, allocations: 0 / 1.038 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003763/0.3572, allocations: 52.25 kB / 1.038 GB, free: 6.152 MB / 0.8106 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.0002153/0.3575, allocations: 115.2 kB / 1.038 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006872/0.3582, allocations: 227.7 kB / 1.038 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3582, allocations: 0 / 1.038 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003239/0.3585, allocations: 124.1 kB / 1.038 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005196/0.359, allocations: 81.22 kB / 1.038 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008149/0.3599, allocations: 438.7 kB / 1.039 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.3602, allocations: 0.7519 MB / 1.04 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001299/0.3603, allocations: 34.42 kB / 1.04 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.137e-05/0.3604, allocations: 27.44 kB / 1.04 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3604, allocations: 0 / 1.04 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of Templates: time 0.007483/0.3679, allocations: 3.951 MB / 1.044 GB, free: 448 kB / 0.8106 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 -s cvode -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/jenkins1/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