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.001125/0.001125, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.00122/0.00122, allocations: 161 kB / 23.82 MB, free: 0.7461 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 1.011/1.011, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.909/1.909, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.446e-05/3.659e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001402/0.001439, allocations: 0.6206 MB / 0.8122 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002268/0.003707, allocations: 1.781 MB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.821e-05/0.003745, allocations: 0 / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.189e-05/0.003807, allocations: 7.922 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.182e-05/0.003859, allocations: 0 / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008984/0.004757, allocations: 303.3 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000567/0.005324, allocations: 131.8 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.965e-05/0.005374, allocations: 8.516 kB / 0.8144 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.25e-05/0.005466, allocations: 65.8 kB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.881e-05/0.005565, allocations: 55.92 kB / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.005591, allocations: 4 kB / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004061/0.005998, allocations: 335.5 kB / 0.8148 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.95e-05/0.006047, allocations: 35.89 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.067e-05/0.006098, allocations: 42.11 kB / 0.8149 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.006465, allocations: 347.1 kB / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.006468, allocations: 0 / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.573e-06/0.00647, allocations: 0 / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.006476, allocations: 0 / 0.8152 GB, free: 13.98 MB / 0.7761 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.0006053/0.007081, allocations: 473.2 kB / 0.8156 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.007133, allocations: 12.56 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.158e-05/0.007204, allocations: 20.84 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.42e-05/0.007298, allocations: 118.2 kB / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.007317, allocations: 8.375 kB / 0.8158 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.007343, allocations: 12.38 kB / 0.8158 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.007591, allocations: 192.2 kB / 0.816 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.007606, allocations: 4.5 kB / 0.816 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.007624, allocations: 9.312 kB / 0.816 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.007635, allocations: 0 / 0.816 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.007771, allocations: 95.84 kB / 0.8161 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002367/0.008008, allocations: 211.2 kB / 0.8163 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005008/0.008509, allocations: 360 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.008639, allocations: 127.2 kB / 0.8168 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002196/0.008859, allocations: 45.59 kB / 0.8168 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.00889, allocations: 49.31 kB / 0.8169 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=30): time 1.733e-06/0.008892, allocations: 0.9688 kB / 0.8169 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30): time 0.0004184/0.00931, allocations: 257.4 kB / 0.8171 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.102e-05/0.009391, allocations: 192.7 kB / 0.8173 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.49e-05/0.009476, allocations: 149.9 kB / 0.8174 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.009493, allocations: 35.3 kB / 0.8175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.009531, allocations: 127.4 kB / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.406e-05/0.009615, allocations: 111.1 kB / 0.8177 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.487e-05/0.00968, allocations: 63.34 kB / 0.8178 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.00982, allocations: 0.4971 MB / 0.8182 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.37e-05/0.009884, allocations: 39.97 kB / 0.8183 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.009987, allocations: 112.7 kB / 0.8184 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.01019, allocations: 179.5 kB / 0.8186 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01019, allocations: 0 / 0.8186 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000256/0.01045, allocations: 201.8 kB / 0.8187 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.01046, allocations: 4 kB / 0.8188 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.01047, allocations: 12 kB / 0.8188 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/0.0105, allocations: 14.14 kB / 0.8188 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.01064, allocations: 55.91 kB / 0.8188 GB, free: 9.871 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.01065, allocations: 4 kB / 0.8188 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.863e-05/0.0107, allocations: 15.89 kB / 0.8188 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.01071, allocations: 11.98 kB / 0.8189 GB, free: 9.84 MB / 0.7761 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 9.637e-05/0.01081, allocations: 173 kB / 0.819 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.01084, allocations: 25.59 kB / 0.819 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003537/0.0112, allocations: 257 kB / 0.8193 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.0112, allocations: 7.938 kB / 0.8193 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.01121, allocations: 4 kB / 0.8193 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.01122, allocations: 0 / 0.8193 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.01136, allocations: 172.9 kB / 0.8195 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.01137, allocations: 1.344 kB / 0.8195 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.01149, allocations: 63.89 kB / 0.8195 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.01149, allocations: 4 kB / 0.8195 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.01151, allocations: 12.36 kB / 0.8195 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01151, allocations: 0.5312 kB / 0.8195 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.01152, allocations: 16.44 kB / 0.8196 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.01179, allocations: 279.8 kB / 0.8198 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.01185, allocations: 36.52 kB / 0.8199 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.01187, allocations: 11.98 kB / 0.8199 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.949e-05/0.01191, allocations: 8.656 kB / 0.8199 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.01196, allocations: 39.22 kB / 0.8199 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.01197, allocations: 8 kB / 0.8199 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.93e-05/0.01202, allocations: 119.2 kB / 0.82 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01202, allocations: 4 kB / 0.82 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002721/0.01229, allocations: 95.86 kB / 0.8201 GB, free: 8.441 MB / 0.7761 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.0003048/0.01259, allocations: 226.8 kB / 0.8204 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002406/0.01283, allocations: 161.7 kB / 0.8205 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01284, allocations: 4 kB / 0.8205 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.335e-05/0.01293, allocations: 100.8 kB / 0.8206 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.01309, allocations: 22.56 kB / 0.8206 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004303/0.01352, allocations: 321.4 kB / 0.8209 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.01392, allocations: 76.77 kB / 0.821 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001422/0.01406, allocations: 93.59 kB / 0.8211 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.01412, allocations: 36.47 kB / 0.8211 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of SimCode: time 9.72e-07/0.01412, allocations: 0 / 0.8211 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of Templates: time 0.004842/0.01896, allocations: 2.54 MB / 0.8236 GB, free: 4.812 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.802452249918133]