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.001133/0.001133, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009224/0.0009224, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9493/0.9493, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.757/1.757, allocations: 377.8 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.393e-06/1.393e-06, allocations: 3.938 kB / 0.8116 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.545e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001324/0.001349, allocations: 0.6104 MB / 0.8122 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00203/0.003379, allocations: 1.781 MB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.564e-05/0.003405, allocations: 1.188 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.867e-05/0.003443, allocations: 3.938 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.258e-05/0.003476, allocations: 0 / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000802/0.004278, allocations: 311.7 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.00443, allocations: 135.8 kB / 0.8144 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.954e-05/0.004469, allocations: 11.98 kB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.059e-05/0.00455, allocations: 61.34 kB / 0.8144 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.442e-05/0.004634, allocations: 51.91 kB / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.004656, allocations: 8 kB / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004202/0.005076, allocations: 336.1 kB / 0.8148 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.444e-05/0.00512, allocations: 35.89 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.005165, allocations: 36.97 kB / 0.8149 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003538/0.005519, allocations: 347.1 kB / 0.8152 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.686e-06/0.005522, allocations: 0 / 0.8152 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.493e-06/0.005523, allocations: 0.75 kB / 0.8152 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.005528, allocations: 0 / 0.8152 GB, free: 13.96 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.0004897/0.006018, allocations: 474 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.006055, allocations: 12.03 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.331e-05/0.006109, allocations: 22.69 kB / 0.8157 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.515e-05/0.006184, allocations: 120.5 kB / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.006199, allocations: 12.38 kB / 0.8158 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.006215, allocations: 8.375 kB / 0.8158 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.006428, allocations: 184.2 kB / 0.816 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.006437, allocations: 5.281 kB / 0.816 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.006453, allocations: 8 kB / 0.816 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.006461, allocations: 4 kB / 0.816 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.006586, allocations: 96.33 kB / 0.8161 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.006792, allocations: 215.1 kB / 0.8163 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/0.007214, allocations: 353.3 kB / 0.8166 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.007332, allocations: 134.1 kB / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/0.007508, allocations: 45.53 kB / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.007536, allocations: 45.33 kB / 0.8169 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.007537, allocations: 0.5938 kB / 0.8169 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30): time 0.0003868/0.007924, allocations: 263.3 kB / 0.8171 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/0.007988, allocations: 187.9 kB / 0.8173 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.526e-05/0.008053, allocations: 153.9 kB / 0.8174 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.00807, allocations: 29.7 kB / 0.8175 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.008103, allocations: 127.4 kB / 0.8176 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.292e-05/0.008176, allocations: 115.6 kB / 0.8177 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.864e-05/0.008234, allocations: 64.06 kB / 0.8178 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.008351, allocations: 0.4923 MB / 0.8182 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.266e-05/0.008413, allocations: 40.78 kB / 0.8183 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.103e-05/0.008504, allocations: 110.6 kB / 0.8184 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.008687, allocations: 180.4 kB / 0.8186 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.00869, allocations: 4 kB / 0.8186 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002568/0.008947, allocations: 209.7 kB / 0.8188 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.00896, allocations: 9.344 kB / 0.8188 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.008965, allocations: 0 / 0.8188 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.008978, allocations: 7.938 kB / 0.8188 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.00911, allocations: 56.86 kB / 0.8188 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.009117, allocations: 4 kB / 0.8188 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/0.009167, allocations: 15.89 kB / 0.8189 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.009182, allocations: 18.3 kB / 0.8189 GB, free: 9.812 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 8.219e-05/0.009264, allocations: 168.5 kB / 0.819 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.009295, allocations: 23.91 kB / 0.8191 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003176/0.009613, allocations: 253.1 kB / 0.8193 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.009617, allocations: 7.938 kB / 0.8193 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.009625, allocations: 7.438 kB / 0.8193 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.00963, allocations: 3.984 kB / 0.8193 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.009781, allocations: 176.9 kB / 0.8195 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.009784, allocations: 4 kB / 0.8195 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.0099, allocations: 55.91 kB / 0.8195 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.009903, allocations: 4 kB / 0.8195 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.009921, allocations: 11.98 kB / 0.8196 GB, free: 9.062 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.009925, allocations: 7.938 kB / 0.8196 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.009927, allocations: 3.938 kB / 0.8196 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.01019, allocations: 284.5 kB / 0.8198 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.01024, allocations: 39.84 kB / 0.8199 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.01026, allocations: 9.031 kB / 0.8199 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.091e-05/0.0103, allocations: 8 kB / 0.8199 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.01034, allocations: 31.83 kB / 0.8199 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.01035, allocations: 12.98 kB / 0.8199 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.038e-05/0.01038, allocations: 123.2 kB / 0.8201 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01038, allocations: 0.5312 kB / 0.8201 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002691/0.01065, allocations: 99.86 kB / 0.8201 GB, free: 8.414 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.0002885/0.01094, allocations: 221.4 kB / 0.8204 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002247/0.01116, allocations: 163.5 kB / 0.8205 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01117, allocations: 0 / 0.8205 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.065e-05/0.01126, allocations: 101 kB / 0.8206 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.01139, allocations: 19.98 kB / 0.8206 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.01177, allocations: 326.7 kB / 0.8209 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.389e-05/0.01181, allocations: 75.83 kB / 0.821 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001663/0.01198, allocations: 96.25 kB / 0.8211 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.01203, allocations: 28.48 kB / 0.8211 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.01203, allocations: 0 / 0.8211 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of Templates: time 0.004487/0.01652, allocations: 2.898 MB / 0.824 GB, free: 4.445 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: 4.763009116984904]