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.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.001978/0.001978, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.003445/0.003445, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.634/1.634, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.042/3.042, allocations: 476 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002269/0.002269, allocations: 68.5 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.4363, allocations: 170 MB / 1.283 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.0032/0.4395, allocations: 1.614 MB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001765/0.4412, allocations: 0.9171 MB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/0.4413, allocations: 4 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.525e-05/0.4413, allocations: 7.922 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.4416, allocations: 19.8 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.442, allocations: 171.4 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.4421, allocations: 79.66 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.4423, allocations: 7.938 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.4424, allocations: 39.89 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.4425, allocations: 39.73 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.4425, allocations: 4 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004481/0.443, allocations: 275.6 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.443, allocations: 15.97 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.014e-05/0.443, allocations: 23.81 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.4433, allocations: 159.5 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.4433, allocations: 0 / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.335e-06/0.4433, allocations: 0 / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.4433, allocations: 0 / 1.286 GB, free: 8.547 MB / 0.9825 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.0006567/0.444, allocations: 343.9 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.444, allocations: 8.031 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002842/0.4443, allocations: 32.88 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.4446, allocations: 142.3 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.4446, allocations: 8.359 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.4446, allocations: 384 / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.4448, allocations: 69.91 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.4448, allocations: 0 / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.4448, allocations: 7.938 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.4448, allocations: 0 / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.445, allocations: 43.97 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.4454, allocations: 236.5 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.4456, allocations: 50.5 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.583e-05/0.4457, allocations: 32.91 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.4457, allocations: 0 / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.4457, allocations: 34.56 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.4457, allocations: 4 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0003733/0.4461, allocations: 105.6 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.4461, allocations: 51.41 kB / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.4463, allocations: 136.4 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.4463, allocations: 25.7 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.673e-05/0.4464, allocations: 104.1 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.4464, allocations: 11.92 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.4464, allocations: 29.64 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.4466, allocations: 318.8 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.959e-05/0.4466, allocations: 23.92 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.969e-05/0.4467, allocations: 28.34 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.4469, allocations: 52.84 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.4469, allocations: 7.938 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002091/0.4471, allocations: 89.61 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.4471, allocations: 4 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.4471, allocations: 4 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.4471, allocations: 0 / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.4472, allocations: 19.92 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.4472, allocations: 0 / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.078e-05/0.4473, allocations: 7.984 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.4473, allocations: 0 / 1.288 GB, free: 6.383 MB / 0.9825 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.802e-05/0.4474, allocations: 117.8 kB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.4474, allocations: 7.953 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.4477, allocations: 106 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4477, allocations: 0 / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4477, allocations: 0 / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4477, allocations: 0 / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.4479, allocations: 133.2 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4479, allocations: 7.938 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.443e-05/0.448, allocations: 11.94 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.448, allocations: 3.984 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.448, allocations: 8 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.448, allocations: 0 / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.448, allocations: 4 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.4483, allocations: 191.5 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.482e-05/0.4483, allocations: 7.953 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.4483, allocations: 0 / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.303e-05/0.4484, allocations: 4 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.4484, allocations: 7.984 kB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.4484, allocations: 0 / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.604e-05/0.4485, allocations: 103.3 kB / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4485, allocations: 0 / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000255/0.4488, allocations: 27.92 kB / 1.289 GB, free: 5.59 MB / 0.9825 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.0001846/0.4489, allocations: 115.2 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002247/0.4492, allocations: 55.95 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4492, allocations: 0 / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.4493, allocations: 27.92 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.4496, allocations: 25.83 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005027/0.4501, allocations: 200.6 kB / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.119e-05/0.4501, allocations: 75.33 kB / 1.289 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.051e-05/0.4502, allocations: 7.984 kB / 1.289 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.933e-05/0.4502, allocations: 15.42 kB / 1.289 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.4502, allocations: 4 kB / 1.289 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of Templates: time 0.004427/0.4547, allocations: 1.187 MB / 1.291 GB, free: 3.852 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.262356013059616]