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.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.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.001405/0.001405, allocations: 100.1 kB / 15.88 MB, free: 12 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.00164/0.001639, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.376/1.376, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.749/2.749, allocations: 461.8 MB / 0.7348 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.23 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3616, allocations: 157.4 MB / 1.053 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002991/0.3647, allocations: 1.674 MB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.3662, allocations: 0.9464 MB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.3663, allocations: 0 / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.797e-05/0.3664, allocations: 7.922 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.3666, allocations: 19.84 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.3668, allocations: 99.02 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.367, allocations: 75.72 kB / 1.056 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3671, allocations: 8 kB / 1.056 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.275e-05/0.3672, allocations: 39.78 kB / 1.056 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.3673, allocations: 31.84 kB / 1.056 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.3674, allocations: 4 kB / 1.056 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003661/0.3677, allocations: 279.6 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.3678, allocations: 15.92 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.3678, allocations: 27.81 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.368, allocations: 108 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.368, allocations: 0 / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.12e-07/0.368, allocations: 0 / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.368, allocations: 0 / 1.056 GB, free: 5.02 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.0005948/0.3686, allocations: 403.2 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3687, allocations: 12.03 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.3688, allocations: 8.938 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.369, allocations: 201.3 kB / 1.057 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.369, allocations: 384 / 1.057 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.369, allocations: 4.375 kB / 1.057 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.3692, allocations: 61.98 kB / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3692, allocations: 0 / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.3692, allocations: 4 kB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3693, allocations: 4 kB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.3694, allocations: 43.95 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/0.3699, allocations: 292.8 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.3701, allocations: 54.55 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.369e-05/0.3702, allocations: 28.97 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.3702, allocations: 8 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.3702, allocations: 30.56 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.402e-06/0.3702, allocations: 3.938 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0003769/0.3706, allocations: 109.5 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.3707, allocations: 51.41 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.3708, allocations: 135.4 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.3708, allocations: 29.7 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.847e-05/0.3709, allocations: 92.05 kB / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.3709, allocations: 27.8 kB / 1.058 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.371, allocations: 17.72 kB / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3711, allocations: 326.8 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.102e-05/0.3712, allocations: 19.98 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.782e-05/0.3712, allocations: 20.23 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.3714, allocations: 64.95 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3714, allocations: 0 / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002035/0.3716, allocations: 89.52 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3716, allocations: 7.984 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3717, allocations: 0 / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3717, allocations: 7.922 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.3718, allocations: 15.98 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3718, allocations: 4 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.941e-05/0.3719, allocations: 4 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.3719, allocations: 0 / 1.058 GB, free: 2.66 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 9.017e-05/0.372, allocations: 117.8 kB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.372, allocations: 7.906 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002422/0.3723, allocations: 105.9 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3723, allocations: 4 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3723, allocations: 0 / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3723, allocations: 0 / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.3725, allocations: 181.6 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3725, allocations: 3.984 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.27e-05/0.3726, allocations: 12 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3726, allocations: 0 / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3726, allocations: 3.984 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3726, allocations: 4 kB / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3726, allocations: 0 / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.3729, allocations: 195.4 kB / 1.059 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.373, allocations: 89 kB / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.373, allocations: 3.938 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.478e-05/0.3731, allocations: 4 kB / 1.059 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.3731, allocations: 7.984 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3731, allocations: 4 kB / 1.059 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.923e-05/0.3732, allocations: 100.7 kB / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3732, allocations: 0 / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002476/0.3735, allocations: 24 kB / 1.059 GB, free: 1.711 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.0002011/0.3737, allocations: 107.2 kB / 1.059 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.3739, allocations: 59.91 kB / 1.059 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3739, allocations: 0 / 1.059 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.423e-05/0.374, allocations: 31.91 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.3743, allocations: 19.23 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004393/0.3748, allocations: 231.6 kB / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.375, allocations: 0.6926 MB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.3751, allocations: 19.36 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3751, allocations: 0 / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of Templates: time 0.002839/0.3779, allocations: 1.102 MB / 1.061 GB, free: 15.39 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/jenkins1/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