Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.001997/0.001997, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002615/0.002615, allocations: 204.2 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.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.352/3.352, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [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.002132/0.002132, allocations: 71.73 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4264, allocations: 176.1 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002063/0.4285, allocations: 0.5943 MB / 1.326 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002874/0.4313, allocations: 1.736 MB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.222e-05/0.4314, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.341e-05/0.4314, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.588e-05/0.4314, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009962/0.4324, allocations: 313.7 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.4326, allocations: 131.8 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.971e-05/0.4327, allocations: 0 / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.615e-05/0.4328, allocations: 59.83 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.4329, allocations: 59.91 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.4329, allocations: 4 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005522/0.4335, allocations: 332.4 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.796e-05/0.4335, allocations: 39.89 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.554e-05/0.4336, allocations: 39.8 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004125/0.434, allocations: 283.2 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.434, allocations: 0 / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.434, allocations: 4 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.434, allocations: 0 / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.000723/0.4348, allocations: 373.7 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.4348, allocations: 12.02 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.198e-05/0.4348, allocations: 12.89 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.435, allocations: 114.4 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.435, allocations: 8.375 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.435, allocations: 16.12 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.4354, allocations: 214.6 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.4354, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.4354, allocations: 12 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.4354, allocations: 7.938 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/0.4357, allocations: 175.8 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.436, allocations: 213.7 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007956/0.4368, allocations: 383.8 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002502/0.4371, allocations: 173.2 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002893/0.4374, allocations: 40.91 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.4374, allocations: 46.5 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.653e-06/0.4374, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0007425/0.4382, allocations: 390.6 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.4383, allocations: 183.9 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.594e-05/0.4384, allocations: 93.84 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.4384, allocations: 33.7 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.4385, allocations: 80.64 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.4386, allocations: 107.1 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.495e-05/0.4387, allocations: 57.69 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.4388, allocations: 326.8 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.439, allocations: 84.06 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.4392, allocations: 145.6 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/0.4396, allocations: 261.1 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.4396, allocations: 0 / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004676/0.44, allocations: 293.3 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.4401, allocations: 4 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4401, allocations: 0 / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.4401, allocations: 4 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.4403, allocations: 59.91 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.4403, allocations: 3.984 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.305e-05/0.4404, allocations: 19.84 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.4404, allocations: 12 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0001323/0.4406, allocations: 142.2 kB / 1.333 GB, free: 9.914 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.4406, allocations: 15.89 kB / 1.333 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006422/0.4412, allocations: 357.5 kB / 1.333 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.4413, allocations: 4.062 kB / 1.333 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.4413, allocations: 8 kB / 1.333 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.4413, allocations: 3.984 kB / 1.333 GB, free: 9.527 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.4415, allocations: 185.1 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4415, allocations: 0 / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.4417, allocations: 63.89 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.4417, allocations: 7.938 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.4418, allocations: 15.94 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.4418, allocations: 3.984 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4418, allocations: 4 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000492/0.4423, allocations: 333.3 kB / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.4424, allocations: 47.75 kB / 1.334 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.4424, allocations: 11.94 kB / 1.334 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.776e-05/0.4425, allocations: 7.984 kB / 1.334 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.4425, allocations: 23.97 kB / 1.334 GB, free: 8.773 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.4426, allocations: 11.98 kB / 1.334 GB, free: 8.762 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.033e-05/0.4426, allocations: 83.22 kB / 1.334 GB, free: 8.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4426, allocations: 0 / 1.334 GB, free: 8.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003973/0.443, allocations: 103.8 kB / 1.334 GB, free: 8.578 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0004286/0.4434, allocations: 199 kB / 1.334 GB, free: 8.371 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004465/0.4439, allocations: 236.2 kB / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4439, allocations: 0 / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.4441, allocations: 132.5 kB / 1.335 GB, free: 8.012 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.4443, allocations: 17.75 kB / 1.335 GB, free: 7.996 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006473/0.4449, allocations: 362.3 kB / 1.335 GB, free: 7.602 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.445, allocations: 99.69 kB / 1.335 GB, free: 7.484 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002525/0.4453, allocations: 113.3 kB / 1.335 GB, free: 7.371 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.42e-05/0.4454, allocations: 31.42 kB / 1.335 GB, free: 7.34 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4454, allocations: 0 / 1.335 GB, free: 7.34 MB / 1.029 GB Notification: Performance of Templates: time 0.006497/0.4519, allocations: 2.528 MB / 1.338 GB, free: 4.812 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.715208804234862]