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.001001/0.001001, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.001529/0.001529, allocations: 170.3 kB / 24.86 MB, free: 9.277 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.9011/0.9011, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.8/1.8, allocations: 377.9 MB / 0.6247 GB, free: 8.402 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.363e-06/1.363e-06, allocations: 0 / 0.8128 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.295e-05/1.431e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001536/0.001551, allocations: 0.6137 MB / 0.8134 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002688/0.004239, allocations: 1.768 MB / 0.8151 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.815e-05/0.004267, allocations: 0 / 0.8151 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.76e-05/0.004304, allocations: 1.375 kB / 0.8151 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.18e-05/0.004336, allocations: 0 / 0.8151 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009671/0.005303, allocations: 314.4 kB / 0.8154 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.00549, allocations: 131.8 kB / 0.8156 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.572e-05/0.005526, allocations: 5.344 kB / 0.8156 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.005631, allocations: 59.94 kB / 0.8156 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.005743, allocations: 55.91 kB / 0.8157 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.005765, allocations: 13.88 kB / 0.8157 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006304/0.006395, allocations: 323.6 kB / 0.816 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.563e-05/0.006451, allocations: 43.89 kB / 0.8161 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.54e-05/0.006496, allocations: 27.91 kB / 0.8161 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004837/0.00698, allocations: 355 kB / 0.8164 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.006983, allocations: 6.156 kB / 0.8164 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.51e-07/0.006983, allocations: 0 / 0.8164 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.006987, allocations: 0 / 0.8164 GB, free: 13.71 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.0005932/0.00758, allocations: 476.5 kB / 0.8169 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.007616, allocations: 12.75 kB / 0.8169 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.367e-05/0.00768, allocations: 20.84 kB / 0.8169 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.483e-05/0.007765, allocations: 113.1 kB / 0.817 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.007784, allocations: 17.97 kB / 0.817 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.007808, allocations: 12.38 kB / 0.817 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.00805, allocations: 168.2 kB / 0.8172 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.008061, allocations: 3.938 kB / 0.8172 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.008079, allocations: 11.94 kB / 0.8172 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.008088, allocations: 4.562 kB / 0.8172 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.008239, allocations: 77.14 kB / 0.8173 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000242/0.008481, allocations: 195.8 kB / 0.8175 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005261/0.009007, allocations: 347.8 kB / 0.8178 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.009149, allocations: 119.7 kB / 0.8179 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001676/0.009317, allocations: 40.97 kB / 0.818 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.00935, allocations: 45.33 kB / 0.818 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=30): time 1.934e-06/0.009352, allocations: 0 / 0.818 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30): time 0.0004699/0.009822, allocations: 235.8 kB / 0.8182 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/0.009899, allocations: 187.9 kB / 0.8184 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.908e-05/0.009968, allocations: 150.6 kB / 0.8186 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.009993, allocations: 34.67 kB / 0.8186 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.01003, allocations: 135.3 kB / 0.8187 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.517e-05/0.01013, allocations: 107.1 kB / 0.8188 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-05/0.01021, allocations: 64.16 kB / 0.8189 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.01036, allocations: 0.5001 MB / 0.8194 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.22e-05/0.01043, allocations: 29.56 kB / 0.8194 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.01055, allocations: 106.5 kB / 0.8195 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.01078, allocations: 158.1 kB / 0.8197 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01078, allocations: 4 kB / 0.8197 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003378/0.01112, allocations: 190.4 kB / 0.8198 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.01114, allocations: 6.344 kB / 0.8198 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.01114, allocations: 4 kB / 0.8199 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.01115, allocations: 2.125 kB / 0.8199 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.01136, allocations: 63.84 kB / 0.8199 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.01137, allocations: 7.984 kB / 0.8199 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.6e-05/0.01146, allocations: 15.89 kB / 0.8199 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.01148, allocations: 4 kB / 0.8199 GB, free: 9.723 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 0.0001173/0.01159, allocations: 178.7 kB / 0.8201 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/0.01165, allocations: 23.91 kB / 0.8201 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004316/0.01208, allocations: 241.6 kB / 0.8204 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.01208, allocations: 4 kB / 0.8204 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.01209, allocations: 7.938 kB / 0.8204 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.0121, allocations: 4.484 kB / 0.8204 GB, free: 9.258 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.01228, allocations: 157.1 kB / 0.8205 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.01229, allocations: 4.516 kB / 0.8205 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.01248, allocations: 61.25 kB / 0.8206 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.01249, allocations: 0 / 0.8206 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.01251, allocations: 15.98 kB / 0.8206 GB, free: 9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.01252, allocations: 0 / 0.8206 GB, free: 9 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.01252, allocations: 4.531 kB / 0.8206 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.01289, allocations: 272.2 kB / 0.8209 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.142e-05/0.01296, allocations: 39.83 kB / 0.8209 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.01298, allocations: 4.656 kB / 0.8209 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.01306, allocations: 4 kB / 0.8209 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.01311, allocations: 32.55 kB / 0.8209 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.01313, allocations: 11.41 kB / 0.821 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.898e-05/0.01317, allocations: 123.2 kB / 0.8211 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01317, allocations: 3.938 kB / 0.8211 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004229/0.01359, allocations: 91.86 kB / 0.8212 GB, free: 8.387 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.0003631/0.01395, allocations: 221.3 kB / 0.8214 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002667/0.01422, allocations: 148.1 kB / 0.8215 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01422, allocations: 2.219 kB / 0.8215 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.01435, allocations: 92.25 kB / 0.8216 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.01456, allocations: 19.92 kB / 0.8216 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004518/0.01501, allocations: 317.6 kB / 0.8219 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.832e-05/0.01507, allocations: 79.83 kB / 0.822 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001176/0.01518, allocations: 33.72 kB / 0.822 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.01529, allocations: 99.11 kB / 0.8221 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.01529, allocations: 4 kB / 0.8221 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of Templates: time 0.006257/0.02155, allocations: 2.998 MB / 0.8251 GB, free: 4.336 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.776808782946318]