Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses.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.001613/0.001613, allocations: 76.2 kB / 9.873 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002561/0.004174, allocations: 444.3 kB / 10.31 MB, free: 396 kB / 10.45 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.001784/0.001784, allocations: 154.1 kB / 11.19 MB, free: 2.98 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002611/0.004395, allocations: 471.5 kB / 11.65 MB, free: 2.516 MB / 13.93 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.667/1.667, allocations: 177.2 MB / 189.5 MB, free: 5.336 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1292/1.796, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 3.997/3.997, allocations: 440.5 MB / 0.6684 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3041/4.301, allocations: 143.9 MB / 0.8089 GB, free: 12.44 MB / 0.7917 GB " [Timeout remaining time 176] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.BaseClasses.FlowModels.Validation.ExactInverses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flowBas|m_flowPow.[0-9,]+.|dpBas|dpPow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flowBas|m_flowPow.[0-9,]+.|dpBas|dpPow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.732e-05/3.732e-05, allocations: 2.312 kB / 0.8102 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses): time 0.002786/0.002823, allocations: 1.515 MB / 0.8117 GB, free: 9.555 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.005368/0.008191, allocations: 3.079 MB / 0.8147 GB, free: 6.465 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.071e-05/0.008222, allocations: 0 / 0.8147 GB, free: 6.465 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.685e-05/0.008259, allocations: 11.91 kB / 0.8147 GB, free: 6.453 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.02e-05/0.008329, allocations: 11.88 kB / 0.8147 GB, free: 6.441 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002119/0.01045, allocations: 0.7971 MB / 0.8155 GB, free: 5.641 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.01075, allocations: 171.5 kB / 0.8156 GB, free: 5.473 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.0108, allocations: 12.16 kB / 0.8157 GB, free: 5.461 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.01104, allocations: 139.7 kB / 0.8158 GB, free: 5.324 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.01118, allocations: 83.83 kB / 0.8159 GB, free: 5.242 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.01121, allocations: 8 kB / 0.8159 GB, free: 5.234 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002542/0.01376, allocations: 1.614 MB / 0.8175 GB, free: 3.617 MB / 0.7917 GB Notification: Performance of combineBinaries: time 0.0001982/0.01395, allocations: 143.3 kB / 0.8176 GB, free: 3.477 MB / 0.7917 GB Notification: Performance of replaceArrayConstructors: time 8.515e-05/0.01404, allocations: 87.36 kB / 0.8177 GB, free: 3.391 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.71e-05/0.01406, allocations: 4 kB / 0.8177 GB, free: 3.387 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.488e-06/0.01407, allocations: 0 / 0.8177 GB, free: 3.387 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 (10) * Number of variables: 22 (8) Notification: Performance of [SIM] Bindings: time 0.001453/0.01552, allocations: 0.9806 MB / 0.8186 GB, free: 2.285 MB / 0.7917 GB Notification: Performance of [SIM] FunctionAlias: time 0.0005541/0.01607, allocations: 365.2 kB / 0.819 GB, free: 1.93 MB / 0.7917 GB Notification: Performance of [SIM] Early Inline: time 0.001147/0.01722, allocations: 0.8742 MB / 0.8198 GB, free: 1.027 MB / 0.7917 GB Notification: Performance of [SIM] Simplify: time 0.000216/0.01744, allocations: 150.2 kB / 0.82 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of [SIM] Alias: time 0.00108/0.01852, allocations: 0.5898 MB / 0.8206 GB, free: 172 kB / 0.7917 GB Notification: Performance of [SIM] Remove Stream: time 0.0001275/0.01864, allocations: 88.38 kB / 0.8206 GB, free: 56 kB / 0.7917 GB Notification: Performance of [SIM] Algorithm Locals: time 0.0001998/0.01884, allocations: 126.7 kB / 0.8208 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of [SIM] Detect States: time 0.0002815/0.01913, allocations: 208.8 kB / 0.821 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of [SIM] Events: time 9.218e-05/0.01922, allocations: 71.89 kB / 0.821 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of [SIM] Partitioning: time 0.0003451/0.01956, allocations: 230.4 kB / 0.8212 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of [SIM] Causalize: time 0.0005057/0.02007, allocations: 321.5 kB / 0.8216 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007896/0.02086, allocations: 0.6827 MB / 0.8222 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of [INI] Simplify: time 0.0004929/0.02135, allocations: 295.5 kB / 0.8225 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of [INI] Inline: time 0.001304/0.02265, allocations: 1.1 MB / 0.8236 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of [INI] Partitioning: time 3.544e-05/0.02269, allocations: 20.06 kB / 0.8236 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of [INI] Cleanup: time 0.0001585/0.02285, allocations: 91.97 kB / 0.8237 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of [INI] Causalize: time 0.001492/0.02434, allocations: 0.9913 MB / 0.8247 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of [INI] Tearing: time 2.506e-05/0.02437, allocations: 12 kB / 0.8247 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of [SIM] Initialization: time 6.71e-07/0.02437, allocations: 4 kB / 0.8247 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of [SIM] Remove Dummies: time 3.627e-06/0.02437, allocations: 3.938 kB / 0.8247 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of [SIM] Tearing: time 1.185e-05/0.02438, allocations: 15.94 kB / 0.8247 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of [SIM] Categorize: time 0.0001304/0.02451, allocations: 59.98 kB / 0.8247 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of [SIM] Solve: time 0.0002637/0.02478, allocations: 111.8 kB / 0.8248 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of [SIM] Jacobian: time 7.364e-06/0.02478, allocations: 0 / 0.8248 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.21e-07/0.02478, allocations: 4 kB / 0.8249 GB, free: 11.48 MB / 0.8073 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 0 (0) {} * Number of algorithm local variables: .......... 0 (0) {} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 10 (scalar:10, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 6 (resizable: 6, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Warning: Cannot classify strong component: BLOCK: Multi Strong Component (status = Solve.EXPLICIT, size = 36) -------------------------------------------------------------------- ### Variables: [PRMT] (4) Real[4] $FUN_11 (fixed = {false for $i10 in 1:4}) [PRMT] (4) Real[4] $FUN_12 (fixed = {false for $i11 in 1:4}) [PRMT] (4) Real[4] $FUN_13 (fixed = {false for $i12 in 1:4}) [PRMT] (4) Real[4] $FUN_14 (fixed = {false for $i13 in 1:4}) [PRMT] (4) Real[4] $FUN_15 (fixed = {false for $i14 in 1:4}) [PRMT] (4) Real[4] $FUN_16 (fixed = {false for $i15 in 1:4}) [PRMT] (4) Real[4] $FUN_17 (fixed = {false for $i16 in 1:4}) [PRMT] (4) Real[4] $FUN_18 (fixed = {false for $i17 in 1:4}) [PRMT] (4) Real[4] $FUN_19 (fixed = {false for $i18 in 1:4}) ### Equation: [FOR-] (36) ($RES_AUX_34) [----] for $i1 in 1:4 loop [----] [TUPL] (9) ($FUN_11[$i1], $FUN_12[$i1], $FUN_13[$i1], $FUN_14[$i1], $FUN_15[$i1], $FUN_16[$i1], $FUN_17[$i1], $FUN_18[$i1], $FUN_19[$i1]) = Buildings.Fluid.BaseClasses.FlowModels.powerLawData(k, n[$i1], m_flow_turbulent); ($RES_AUX_35) [----] end for; Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 10 (scalar:10, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 15 (resizable: 15, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001461/0.02493, allocations: 73.2 kB / 0.8249 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of SimCode: time 0.004686/0.02962, allocations: 2.329 MB / 0.8272 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of Templates: time 0.0156/0.04521, allocations: 7.837 MB / 0.8349 GB, free: 1.25 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.ExactInverses_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_ExactInverses.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: 8.672165635973215]