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.001814/0.001814, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002369/0.002369, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.416/1.416, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.7/2.7, allocations: 461.9 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 64.92 kB / 0.8986 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3502, allocations: 157.4 MB / 1.052 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.004869/0.3552, allocations: 1.674 MB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00253/0.3577, allocations: 0.919 MB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.134e-05/0.3579, allocations: 0 / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.81e-05/0.358, allocations: 3.938 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.3583, allocations: 27.84 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006562/0.359, allocations: 119.8 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.3592, allocations: 79.66 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.3594, allocations: 15.98 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.3595, allocations: 27.92 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.3597, allocations: 35.84 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.3597, allocations: 4 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006598/0.3604, allocations: 279.7 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.183e-05/0.3605, allocations: 15.91 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.669e-05/0.3606, allocations: 31.8 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003767/0.3609, allocations: 151.9 kB / 1.056 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.361, allocations: 0 / 1.056 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.021e-06/0.361, allocations: 0 / 1.056 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.361, allocations: 7.938 kB / 1.056 GB, free: 5.352 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.000881/0.3619, allocations: 407.1 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.362, allocations: 8.625 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.3622, allocations: 8.938 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.3624, allocations: 192.1 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.3625, allocations: 384 / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.3625, allocations: 4.375 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.3628, allocations: 69.97 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3628, allocations: 0 / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.3629, allocations: 4 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.3629, allocations: 3.984 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.3632, allocations: 43.91 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000663/0.3639, allocations: 296.8 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.3641, allocations: 58.55 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.3643, allocations: 24.97 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.3643, allocations: 0 / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.3644, allocations: 30.56 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.964e-06/0.3644, allocations: 11.94 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.000621/0.365, allocations: 109.5 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.3651, allocations: 55.41 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.3653, allocations: 127.5 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.3654, allocations: 25.7 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.995e-05/0.3655, allocations: 104 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.3655, allocations: 15.75 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.407e-05/0.3656, allocations: 29.64 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3658, allocations: 318.8 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.3659, allocations: 23.97 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.3661, allocations: 23.98 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.3664, allocations: 56.77 kB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3664, allocations: 0 / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004053/0.3668, allocations: 89.58 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.3668, allocations: 8 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3669, allocations: 0 / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3669, allocations: 0 / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.3671, allocations: 15.98 kB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.3671, allocations: 0 / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.3673, allocations: 7.984 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.3673, allocations: 0 / 1.058 GB, free: 3 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.0001415/0.3675, allocations: 123.3 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.729e-05/0.3675, allocations: 11.84 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004469/0.368, allocations: 97.95 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.368, allocations: 0 / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.368, allocations: 4 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3681, allocations: 0 / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.3684, allocations: 186.1 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3684, allocations: 4 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.3686, allocations: 15.98 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3686, allocations: 0 / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.3686, allocations: 4 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3687, allocations: 0 / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3687, allocations: 0 / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004796/0.3691, allocations: 195.3 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.468e-05/0.3692, allocations: 85.02 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.3693, allocations: 7.922 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.3695, allocations: 4 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.3695, allocations: 11.98 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.3696, allocations: 0 / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000111/0.3697, allocations: 100.8 kB / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3697, allocations: 0 / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004437/0.3702, allocations: 24 kB / 1.058 GB, free: 2.047 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.0003045/0.3705, allocations: 119.2 kB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003948/0.3709, allocations: 59.84 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3709, allocations: 0 / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.3711, allocations: 31.98 kB / 1.059 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005711/0.3717, allocations: 15.91 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006877/0.3724, allocations: 208.2 kB / 1.059 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.3728, allocations: 0.6924 MB / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.777e-05/0.3729, allocations: 15.97 kB / 1.06 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.373, allocations: 15.44 kB / 1.06 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of SimCode: time 8.42e-07/0.373, allocations: 0 / 1.06 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of Templates: time 0.006107/0.3791, allocations: 1.042 MB / 1.061 GB, free: 15.81 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