Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00201/0.00201, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.471/1.471, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.835/2.835, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 62.23 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3514, allocations: 157.4 MB / 1.052 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003016/0.3545, allocations: 1.678 MB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.3561, allocations: 0.9387 MB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.3562, allocations: 7.938 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.948e-05/0.3563, allocations: 0 / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.3565, allocations: 23.84 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.3568, allocations: 103.7 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.3569, allocations: 75.7 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3571, allocations: 12 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.3572, allocations: 27.86 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.3573, allocations: 35.84 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.3573, allocations: 7.938 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003753/0.3577, allocations: 287.6 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.3577, allocations: 4 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.652e-05/0.3578, allocations: 27.8 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.3581, allocations: 147.9 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3581, allocations: 8 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3581, allocations: 0 / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3581, allocations: 0 / 1.055 GB, free: 5.445 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006856/0.3588, allocations: 407.2 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3588, allocations: 11.97 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.359, allocations: 8.938 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.3592, allocations: 188.1 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.3592, allocations: 8.375 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.3592, allocations: 384 / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.3594, allocations: 65.97 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3595, allocations: 4 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3595, allocations: 0 / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.3595, allocations: 3.938 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.3596, allocations: 51.89 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005145/0.3602, allocations: 292.8 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.3603, allocations: 50.55 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.356e-05/0.3604, allocations: 32.97 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.3604, allocations: 0 / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.3605, allocations: 38.5 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.3605, allocations: 0 / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0003882/0.3609, allocations: 105.5 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.3609, allocations: 55.41 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.3611, allocations: 132.2 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.3611, allocations: 25.7 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.3612, allocations: 100 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.3612, allocations: 15.75 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.3612, allocations: 21.7 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3614, allocations: 326.8 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.768e-05/0.3614, allocations: 19.98 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.528e-05/0.3615, allocations: 23.92 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.3617, allocations: 57.2 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3617, allocations: 0 / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002124/0.3619, allocations: 93.58 kB / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3619, allocations: 4 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3619, allocations: 0 / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.362, allocations: 7.984 kB / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.3621, allocations: 8 kB / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3621, allocations: 0 / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.072e-05/0.3622, allocations: 7.984 kB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.3622, allocations: 8 kB / 1.057 GB, free: 3.094 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0001011/0.3623, allocations: 121.7 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.3623, allocations: 11.89 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/0.3626, allocations: 105.9 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3626, allocations: 0 / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.3626, allocations: 0 / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.3626, allocations: 0 / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.3628, allocations: 193.6 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3628, allocations: 0 / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.462e-05/0.3629, allocations: 11.98 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3629, allocations: 7.938 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.363, allocations: 3.984 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.363, allocations: 0 / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.363, allocations: 0 / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.3632, allocations: 187.4 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/0.3633, allocations: 92.94 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.3633, allocations: 0 / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.641e-05/0.3634, allocations: 4 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.3635, allocations: 8.172 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.3635, allocations: 8 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.39e-05/0.3635, allocations: 97.3 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3635, allocations: 0 / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002452/0.3638, allocations: 24 kB / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0002871/0.3641, allocations: 123.2 kB / 1.058 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.3643, allocations: 55.91 kB / 1.058 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3643, allocations: 0 / 1.058 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.912e-05/0.3644, allocations: 27.98 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.3648, allocations: 14.66 kB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005217/0.3653, allocations: 213.8 kB / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.3657, allocations: 0.6887 MB / 1.059 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.444e-05/0.3657, allocations: 11.98 kB / 1.059 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.3658, allocations: 11.44 kB / 1.059 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of SimCode: time 3.7e-07/0.3658, allocations: 0 / 1.059 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of Templates: time 0.004108/0.3699, allocations: 1.016 MB / 1.06 GB, free: 15.93 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches