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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00199/0.00199, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003005/0.003005, allocations: 194.7 kB / 22.11 MB, free: 5.152 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.65/1.65, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.526/3.526, allocations: 495.8 MB / 0.783 GB, free: 33.65 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.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: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 67.97 kB / 1.137 GB, free: 33.8 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.5751/0.5773, allocations: 173.6 MB / 1.307 GB, free: 1.773 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002996/0.5803, allocations: 0.6163 MB / 1.307 GB, free: 1.164 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.003872/0.5842, allocations: 1.744 MB / 1.309 GB, free: 15.4 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.5842, allocations: 4 kB / 1.309 GB, free: 15.4 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 5.361e-05/0.5843, allocations: 3.984 kB / 1.309 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 5.261e-05/0.5843, allocations: 3.938 kB / 1.309 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.5859, allocations: 310.1 kB / 1.309 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002944/0.5862, allocations: 131.8 kB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.763e-05/0.5862, allocations: 3.984 kB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.5863, allocations: 39.98 kB / 1.31 GB, free: 14.92 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.5865, allocations: 67.84 kB / 1.31 GB, free: 14.85 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.5865, allocations: 4 kB / 1.31 GB, free: 14.85 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007944/0.5873, allocations: 336.6 kB / 1.31 GB, free: 14.52 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 9.085e-05/0.5874, allocations: 43.89 kB / 1.31 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 8.772e-05/0.5875, allocations: 43.78 kB / 1.31 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006707/0.5882, allocations: 275.2 kB / 1.31 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.5882, allocations: 0 / 1.31 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.775e-06/0.5882, allocations: 0 / 1.31 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.594e-05/0.5882, allocations: 0 / 1.31 GB, free: 14.16 MB / 1.014 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.0009348/0.5891, allocations: 369.7 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 6.618e-05/0.5892, allocations: 12.92 kB / 1.311 GB, free: 13.76 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.362e-05/0.5893, allocations: 12.89 kB / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.5894, allocations: 126.2 kB / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.5894, allocations: 8.375 kB / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.5895, allocations: 16.12 kB / 1.311 GB, free: 13.58 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004115/0.5899, allocations: 218.6 kB / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.5899, allocations: 4 kB / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.5899, allocations: 8 kB / 1.311 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.5899, allocations: 4 kB / 1.311 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003205/0.5903, allocations: 171.8 kB / 1.311 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.5906, allocations: 253.2 kB / 1.311 GB, free: 12.85 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008699/0.5915, allocations: 395.8 kB / 1.312 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.5918, allocations: 173.1 kB / 1.312 GB, free: 12.22 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003896/0.5922, allocations: 40.95 kB / 1.312 GB, free: 12.18 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.5922, allocations: 38.56 kB / 1.312 GB, free: 12.14 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=30): time 1.353e-06/0.5922, allocations: 4 kB / 1.312 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of matching and sorting (n=30): time 0.0007885/0.593, allocations: 386.5 kB / 1.312 GB, free: 11.75 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/0.5931, allocations: 187.9 kB / 1.313 GB, free: 11.52 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.442e-05/0.5932, allocations: 93.86 kB / 1.313 GB, free: 11.42 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.5933, allocations: 29.7 kB / 1.313 GB, free: 11.39 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.5933, allocations: 84.58 kB / 1.313 GB, free: 11.3 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.5934, allocations: 107.1 kB / 1.313 GB, free: 11.2 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.645e-05/0.5935, allocations: 61.81 kB / 1.313 GB, free: 11.13 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001915/0.5937, allocations: 322.8 kB / 1.313 GB, free: 10.8 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.5939, allocations: 87.92 kB / 1.313 GB, free: 10.72 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.5941, allocations: 137.1 kB / 1.313 GB, free: 10.57 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.5945, allocations: 257.2 kB / 1.314 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5945, allocations: 0 / 1.314 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004896/0.595, allocations: 297.3 kB / 1.314 GB, free: 10 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.595, allocations: 4 kB / 1.314 GB, free: 9.996 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.595, allocations: 4 kB / 1.314 GB, free: 9.992 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.595, allocations: 0 / 1.314 GB, free: 9.992 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.5953, allocations: 63.83 kB / 1.314 GB, free: 9.93 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.5953, allocations: 4 kB / 1.314 GB, free: 9.926 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.5954, allocations: 15.89 kB / 1.314 GB, free: 9.91 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.5954, allocations: 15.98 kB / 1.314 GB, free: 9.895 MB / 1.014 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.0001391/0.5955, allocations: 141.7 kB / 1.314 GB, free: 9.746 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.5956, allocations: 15.84 kB / 1.314 GB, free: 9.73 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007269/0.5963, allocations: 365.5 kB / 1.315 GB, free: 9.367 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.5963, allocations: 4 kB / 1.315 GB, free: 9.363 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.5963, allocations: 4 kB / 1.315 GB, free: 9.359 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5963, allocations: 0 / 1.315 GB, free: 9.359 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.5966, allocations: 228.5 kB / 1.315 GB, free: 9.094 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.5966, allocations: 8 kB / 1.315 GB, free: 9.086 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/0.5968, allocations: 59.83 kB / 1.315 GB, free: 9.027 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.5969, allocations: 4 kB / 1.315 GB, free: 9.023 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.5969, allocations: 11.98 kB / 1.315 GB, free: 9.012 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.5969, allocations: 4 kB / 1.315 GB, free: 9.008 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5969, allocations: 0 / 1.315 GB, free: 9.008 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005606/0.5975, allocations: 349.5 kB / 1.315 GB, free: 8.633 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.5976, allocations: 39.86 kB / 1.315 GB, free: 8.594 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.5976, allocations: 11.98 kB / 1.315 GB, free: 8.582 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.761e-05/0.5977, allocations: 4 kB / 1.315 GB, free: 8.578 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.5977, allocations: 27.89 kB / 1.315 GB, free: 8.551 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.5978, allocations: 12 kB / 1.315 GB, free: 8.539 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 8.322e-05/0.5978, allocations: 79.28 kB / 1.315 GB, free: 8.461 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.5978, allocations: 0 / 1.315 GB, free: 8.461 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0004438/0.5983, allocations: 91.86 kB / 1.316 GB, free: 8.371 MB / 1.014 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.0006914/0.599, allocations: 215.7 kB / 1.316 GB, free: 8.156 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0005281/0.5995, allocations: 240 kB / 1.316 GB, free: 7.922 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.5995, allocations: 4.094 kB / 1.316 GB, free: 7.918 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.5997, allocations: 131.7 kB / 1.316 GB, free: 7.789 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.5999, allocations: 19.94 kB / 1.316 GB, free: 7.77 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007591/0.6007, allocations: 354.4 kB / 1.316 GB, free: 7.379 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.6012, allocations: 0.7085 MB / 1.317 GB, free: 6.641 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0002611/0.6014, allocations: 113.3 kB / 1.317 GB, free: 6.531 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.056e-05/0.6015, allocations: 35.41 kB / 1.317 GB, free: 6.496 MB / 1.014 GB
Notification: Performance of SimCode: time 6.01e-07/0.6015, allocations: 0 / 1.317 GB, free: 6.496 MB / 1.014 GB
Notification: Performance of Templates: time 0.007648/0.6091, allocations: 2.712 MB / 1.32 GB, free: 3.785 MB / 1.014 GB
"
[Timeout remaining time 299]
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: 11.03690021764487]