Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_11_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_11_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.01033/0.01033, allocations: 98.48 kB / 15.73 MB, free: 6.031 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: 196.8 kB / 16.68 MB, free: 5.953 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.636/2.636, allocations: 469.8 MB / 0.7425 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.89 kB / 1.065 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.025, allocations: 159.1 MB / 1.221 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002965/1.028, allocations: 1.615 MB / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001499/1.029, allocations: 0.9084 MB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.193e-05/1.029, allocations: 0 / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.222e-05/1.029, allocations: 7.875 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002428/1.03, allocations: 23.78 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/1.03, allocations: 135.7 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001743/1.03, allocations: 83.64 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/1.03, allocations: 7.984 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.82e-05/1.03, allocations: 39.86 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/1.03, allocations: 35.84 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/1.03, allocations: 4 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004002/1.031, allocations: 279.6 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/1.031, allocations: 27.84 kB / 1.224 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.64e-05/1.031, allocations: 27.81 kB / 1.224 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002874/1.031, allocations: 156 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/1.031, allocations: 0 / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.954e-06/1.031, allocations: 0 / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.127e-06/1.031, allocations: 0 / 1.224 GB, free: 14.75 MB / 0.9512 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.0006486/1.032, allocations: 402.9 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/1.032, allocations: 12.03 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/1.032, allocations: 16.88 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/1.032, allocations: 188.2 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/1.032, allocations: 384 / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/1.032, allocations: 4.375 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/1.033, allocations: 69.95 kB / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/1.033, allocations: 0 / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/1.033, allocations: 4 kB / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/1.033, allocations: 0 / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/1.033, allocations: 47.95 kB / 1.225 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/1.033, allocations: 304.6 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/1.033, allocations: 50.5 kB / 1.225 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.034e-05/1.033, allocations: 32.97 kB / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/1.033, allocations: 4 kB / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/1.033, allocations: 34.55 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/1.033, allocations: 0 / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5): time 0.000355/1.034, allocations: 105.7 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/1.034, allocations: 51.41 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/1.034, allocations: 135.7 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/1.034, allocations: 29.7 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/1.034, allocations: 92.12 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/1.034, allocations: 19.86 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/1.034, allocations: 17.72 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.034, allocations: 326.8 kB / 1.226 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.257e-05/1.034, allocations: 24.05 kB / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.725e-05/1.034, allocations: 23.98 kB / 1.226 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/1.034, allocations: 52.83 kB / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.034, allocations: 0 / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002011/1.035, allocations: 97.55 kB / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/1.035, allocations: 4 kB / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/1.035, allocations: 0 / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/1.035, allocations: 0 / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/1.035, allocations: 19.98 kB / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/1.035, allocations: 0 / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.327e-05/1.035, allocations: 11.88 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/1.035, allocations: 3.984 kB / 1.226 GB, free: 12.39 MB / 0.9512 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 8.092e-05/1.035, allocations: 118.9 kB / 1.226 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/1.035, allocations: 7.953 kB / 1.226 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/1.035, allocations: 105.9 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/1.035, allocations: 4 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/1.035, allocations: 0 / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/1.035, allocations: 0 / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/1.035, allocations: 181.6 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/1.035, allocations: 0 / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.713e-05/1.035, allocations: 19.98 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/1.035, allocations: 256 / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/1.036, allocations: 3.938 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/1.036, allocations: 8 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/1.036, allocations: 0 / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/1.036, allocations: 195.3 kB / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/1.036, allocations: 85.06 kB / 1.227 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/1.036, allocations: 0 / 1.227 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.635e-05/1.036, allocations: 7.984 kB / 1.227 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/1.036, allocations: 0 / 1.227 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/1.036, allocations: 4 kB / 1.227 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.89e-05/1.036, allocations: 113.2 kB / 1.227 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9.1e-08/1.036, allocations: 0 / 1.227 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000244/1.036, allocations: 27.94 kB / 1.227 GB, free: 11.42 MB / 0.9512 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.0001959/1.036, allocations: 103.2 kB / 1.227 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002034/1.037, allocations: 59.89 kB / 1.227 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/1.037, allocations: 0 / 1.227 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.206e-05/1.037, allocations: 35.92 kB / 1.227 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/1.037, allocations: 11.94 kB / 1.227 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004396/1.037, allocations: 196.1 kB / 1.227 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/1.038, allocations: 0.6885 MB / 1.228 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.836e-05/1.038, allocations: 15.92 kB / 1.228 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.948e-05/1.038, allocations: 11.44 kB / 1.228 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/1.038, allocations: 0 / 1.228 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of Templates: time 0.003564/1.041, allocations: 1.105 MB / 1.229 GB, free: 9.156 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches