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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 208.3 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.335/3.335, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 67.25 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.4004, allocations: 181.9 MB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003016/0.4034, allocations: 1.618 MB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.4051, allocations: 0.9087 MB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.013e-05/0.4052, allocations: 7.938 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.4052, allocations: 3.938 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.4054, allocations: 27.72 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.4058, allocations: 167.5 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.406, allocations: 83.59 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.184e-05/0.4061, allocations: 11.92 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.4063, allocations: 47.84 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.141e-05/0.4063, allocations: 31.84 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.4064, allocations: 4 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004181/0.4068, allocations: 271.7 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.498e-05/0.4068, allocations: 19.91 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/0.4068, allocations: 23.86 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.4071, allocations: 159.4 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4071, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4071, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.4071, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 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.0005985/0.4077, allocations: 345.7 kB / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.4078, allocations: 12.03 kB / 1.368 GB, free: 9.766 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000285/0.408, allocations: 28.86 kB / 1.368 GB, free: 9.738 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.4083, allocations: 139.7 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.4083, allocations: 4.359 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.4083, allocations: 11.94 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.4085, allocations: 57.67 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4085, allocations: 0 / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.4085, allocations: 0 / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.4085, allocations: 0 / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.4087, allocations: 47.91 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004474/0.4091, allocations: 240.4 kB / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.4093, allocations: 58.55 kB / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.449e-05/0.4094, allocations: 32.97 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.4094, allocations: 0 / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.4094, allocations: 30.56 kB / 1.368 GB, free: 9.047 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.4094, allocations: 3.938 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.0003686/0.4098, allocations: 101.6 kB / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.4098, allocations: 59.41 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.4099, allocations: 140.2 kB / 1.368 GB, free: 8.719 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.41, allocations: 29.7 kB / 1.368 GB, free: 8.684 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.41, allocations: 92.14 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.4101, allocations: 19.89 kB / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.4101, allocations: 17.72 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4102, allocations: 326.8 kB / 1.369 GB, free: 8.219 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.013e-05/0.4103, allocations: 19.98 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-05/0.4104, allocations: 23.98 kB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.4105, allocations: 64.7 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4105, allocations: 0 / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002189/0.4108, allocations: 93.56 kB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.4108, allocations: 8 kB / 1.369 GB, free: 8.004 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.4108, allocations: 0 / 1.369 GB, free: 8.004 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.4108, allocations: 3.938 kB / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.4109, allocations: 11.98 kB / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4109, allocations: 4 kB / 1.369 GB, free: 7.984 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.03e-05/0.411, allocations: 4 kB / 1.369 GB, free: 7.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.411, allocations: 8 kB / 1.369 GB, free: 7.973 MB / 1.061 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.162e-05/0.4111, allocations: 122.8 kB / 1.369 GB, free: 7.844 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.4111, allocations: 7.953 kB / 1.369 GB, free: 7.836 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.4114, allocations: 94.48 kB / 1.369 GB, free: 7.73 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4114, allocations: 4 kB / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4114, allocations: 64 / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.4114, allocations: 4 kB / 1.369 GB, free: 7.723 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.4116, allocations: 129.2 kB / 1.369 GB, free: 7.566 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4116, allocations: 4 kB / 1.369 GB, free: 7.562 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.799e-05/0.4116, allocations: 15.98 kB / 1.369 GB, free: 7.547 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4116, allocations: 0 / 1.369 GB, free: 7.547 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.4117, allocations: 0 / 1.369 GB, free: 7.547 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4117, allocations: 0 / 1.369 GB, free: 7.547 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/0.4117, allocations: 7.922 kB / 1.369 GB, free: 7.539 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.4119, allocations: 191.4 kB / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.498e-05/0.4119, allocations: 7.953 kB / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.412, allocations: 0 / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.085e-05/0.4121, allocations: 11.98 kB / 1.37 GB, free: 7.316 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.4121, allocations: 4 kB / 1.37 GB, free: 7.312 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.4121, allocations: 7.984 kB / 1.37 GB, free: 7.305 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.646e-05/0.4122, allocations: 97.84 kB / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4122, allocations: 0 / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002622/0.4124, allocations: 31.89 kB / 1.37 GB, free: 7.18 MB / 1.061 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.0002108/0.4126, allocations: 111.2 kB / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.4129, allocations: 55.91 kB / 1.37 GB, free: 7.008 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4129, allocations: 4 kB / 1.37 GB, free: 7.004 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.796e-05/0.413, allocations: 23.98 kB / 1.37 GB, free: 6.98 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.4133, allocations: 27.8 kB / 1.37 GB, free: 6.953 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004407/0.4137, allocations: 189.4 kB / 1.37 GB, free: 6.738 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.347e-05/0.4138, allocations: 79.27 kB / 1.37 GB, free: 6.641 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.91e-05/0.4138, allocations: 15.92 kB / 1.37 GB, free: 6.625 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.4139, allocations: 11.44 kB / 1.37 GB, free: 6.613 MB / 1.061 GB Notification: Performance of SimCode: time 4.91e-07/0.4139, allocations: 0 / 1.37 GB, free: 6.613 MB / 1.061 GB Notification: Performance of Templates: time 0.004341/0.4182, allocations: 1.19 MB / 1.371 GB, free: 5.449 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.243500858545303]