Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008223/0.0008223, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007839/0.0007839, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.843/0.843, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.702/1.702, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.96e-05, allocations: 6.219 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001021/0.00104, allocations: 0.5979 MB / 1.002 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001709/0.002749, allocations: 1.736 MB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.099e-05/0.00277, allocations: 3.938 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.648e-05/0.002797, allocations: 7.938 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.03e-05/0.002827, allocations: 0 / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005983/0.003426, allocations: 312.5 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.003555, allocations: 135.8 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.402e-05/0.003589, allocations: 4 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.465e-05/0.003664, allocations: 59.94 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.597e-05/0.00374, allocations: 51.92 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.003757, allocations: 8 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/0.004071, allocations: 335.4 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.964e-05/0.004111, allocations: 43.89 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.004146, allocations: 31.95 kB / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.004462, allocations: 355.1 kB / 1.005 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.004463, allocations: 0 / 1.005 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.71e-07/0.004464, allocations: 0 / 1.005 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.004468, allocations: 0 / 1.005 GB, free: 9.312 MB / 0.9636 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.0004392/0.004907, allocations: 372.1 kB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.004943, allocations: 13.34 kB / 1.005 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.004983, allocations: 12.84 kB / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.305e-05/0.005046, allocations: 113.7 kB / 1.005 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.005058, allocations: 12.38 kB / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.005077, allocations: 15.94 kB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.005314, allocations: 222.6 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.005323, allocations: 0 / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.005336, allocations: 4 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.005342, allocations: 4 kB / 1.005 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.005523, allocations: 171.8 kB / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.005707, allocations: 209.8 kB / 1.006 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004465/0.006154, allocations: 391.8 kB / 1.006 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.0063, allocations: 169.1 kB / 1.006 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.006467, allocations: 48.91 kB / 1.006 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.006487, allocations: 38.56 kB / 1.006 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=30): time 1.282e-06/0.006488, allocations: 0 / 1.006 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30): time 0.0004427/0.006931, allocations: 386.7 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.006988, allocations: 183.9 kB / 1.007 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.29e-05/0.007031, allocations: 101.8 kB / 1.007 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.007046, allocations: 33.64 kB / 1.007 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.788e-05/0.007064, allocations: 84.77 kB / 1.007 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.022e-05/0.007125, allocations: 103.1 kB / 1.007 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.007175, allocations: 61.67 kB / 1.007 GB, free: 6.34 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.011e-05/0.007255, allocations: 318.8 kB / 1.007 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.125e-05/0.007346, allocations: 87.92 kB / 1.008 GB, free: 5.934 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.007458, allocations: 142 kB / 1.008 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/0.007832, allocations: 261 kB / 1.008 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.007834, allocations: 0 / 1.008 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000282/0.008116, allocations: 289.4 kB / 1.008 GB, free: 5.215 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.00813, allocations: 7.984 kB / 1.008 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.008135, allocations: 4 kB / 1.008 GB, free: 5.203 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.008148, allocations: 4 kB / 1.008 GB, free: 5.199 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.008284, allocations: 55.91 kB / 1.008 GB, free: 5.145 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.00829, allocations: 4 kB / 1.008 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.008337, allocations: 15.89 kB / 1.008 GB, free: 5.125 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.008352, allocations: 19.97 kB / 1.008 GB, free: 5.105 MB / 0.9636 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 7.211e-05/0.008424, allocations: 137.7 kB / 1.008 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.008446, allocations: 19.84 kB / 1.008 GB, free: 4.941 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.008811, allocations: 357.5 kB / 1.009 GB, free: 4.586 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.008815, allocations: 4 kB / 1.009 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.00882, allocations: 4.125 kB / 1.009 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.008827, allocations: 7.984 kB / 1.009 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.008962, allocations: 185.1 kB / 1.009 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.008964, allocations: 4 kB / 1.009 GB, free: 4.355 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.009073, allocations: 51.91 kB / 1.009 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.009077, allocations: 7.938 kB / 1.009 GB, free: 4.297 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.009091, allocations: 11.98 kB / 1.009 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.009093, allocations: 4 kB / 1.009 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.009094, allocations: 0 / 1.009 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.009395, allocations: 346.1 kB / 1.009 GB, free: 3.91 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.009448, allocations: 39.84 kB / 1.009 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.009465, allocations: 15.94 kB / 1.009 GB, free: 3.855 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.212e-05/0.009508, allocations: 8 kB / 1.009 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.009536, allocations: 23.95 kB / 1.009 GB, free: 3.824 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.009548, allocations: 15.92 kB / 1.009 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.899e-05/0.009567, allocations: 79.28 kB / 1.01 GB, free: 3.73 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.009567, allocations: 0 / 1.01 GB, free: 3.73 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002345/0.009802, allocations: 103.8 kB / 1.01 GB, free: 3.629 MB / 0.9636 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.0002419/0.01004, allocations: 215 kB / 1.01 GB, free: 3.41 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002635/0.01031, allocations: 240.4 kB / 1.01 GB, free: 3.176 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01031, allocations: 0 / 1.01 GB, free: 3.176 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.01042, allocations: 128.4 kB / 1.01 GB, free: 3.051 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.01055, allocations: 21.34 kB / 1.01 GB, free: 3.031 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.01094, allocations: 396.1 kB / 1.011 GB, free: 2.598 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.917e-05/0.011, allocations: 95.81 kB / 1.011 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.772e-05/0.01105, allocations: 36.47 kB / 1.011 GB, free: 2.449 MB / 0.9636 GB Notification: Performance of SimCode: time 5.61e-07/0.01105, allocations: 3.938 kB / 1.011 GB, free: 2.445 MB / 0.9636 GB Notification: Performance of Templates: time 0.003088/0.01414, allocations: 3.064 MB / 1.014 GB, free: 15.38 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.282812608405948]