Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.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.001219/0.001219, allocations: 64.22 kB / 9.893 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001674/0.002893, allocations: 450.1 kB / 10.33 MB, free: 372 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.001225/0.001225, allocations: 154.1 kB / 11.22 MB, free: 2.953 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001651/0.002876, allocations: 471.5 kB / 11.68 MB, free: 2.488 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.508/1.508, allocations: 177.1 MB / 189.5 MB, free: 3.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2059/1.713, allocations: 53.65 MB / 243.2 MB, free: 2.375 MB / 234.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 3.273/3.273, allocations: 378.2 MB / 0.6076 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2751/3.548, allocations: 123.3 MB / 0.728 GB, free: 12.95 MB / 0.7136 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der_dp|der_dp_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der_dp|der_dp_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/1.848e-05, allocations: 2.312 kB / 0.7293 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.002714/0.002733, allocations: 1.411 MB / 0.7307 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.00416, allocations: 0.6069 MB / 0.7312 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.761e-05/0.004177, allocations: 0 / 0.7312 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.043e-05/0.004188, allocations: 0 / 0.7312 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.238e-05/0.00422, allocations: 15.86 kB / 0.7313 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004722/0.004692, allocations: 159.2 kB / 0.7314 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.574e-05/0.004778, allocations: 31.86 kB / 0.7314 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.004823, allocations: 4 kB / 0.7314 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.14e-05/0.004884, allocations: 19.97 kB / 0.7315 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.951e-05/0.004963, allocations: 15.92 kB / 0.7315 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.004976, allocations: 0 / 0.7315 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005523/0.005528, allocations: 327.3 kB / 0.7318 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of combineBinaries: time 6.427e-05/0.005592, allocations: 43.73 kB / 0.7318 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of replaceArrayConstructors: time 2.573e-05/0.005618, allocations: 23.81 kB / 0.7319 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.081e-05/0.005629, allocations: 7.938 kB / 0.7319 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.903e-06/0.005636, allocations: 0 / 0.7319 GB, free: 8.98 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 (7) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.0006179/0.006254, allocations: 324.9 kB / 0.7322 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001189/0.006373, allocations: 36.17 kB / 0.7322 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of [SIM] Early Inline: time 0.0001735/0.006546, allocations: 124.3 kB / 0.7323 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of [SIM] Simplify: time 0.0001006/0.006647, allocations: 52.39 kB / 0.7324 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of [SIM] Alias: time 0.0004941/0.007141, allocations: 204.8 kB / 0.7326 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of [SIM] Remove Stream: time 7.055e-05/0.007211, allocations: 48.77 kB / 0.7326 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of [SIM] Algorithm Locals: time 3.604e-05/0.007247, allocations: 27.92 kB / 0.7326 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of [SIM] Detect States: time 0.000232/0.007479, allocations: 125 kB / 0.7328 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of [SIM] Events: time 3.397e-05/0.007513, allocations: 19.92 kB / 0.7328 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of [SIM] Partitioning: time 0.0001651/0.007679, allocations: 92.45 kB / 0.7329 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of [SIM] Causalize: time 0.0009909/0.008669, allocations: 0.6946 MB / 0.7336 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001684/0.008838, allocations: 131.8 kB / 0.7337 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of [INI] Simplify: time 0.0002487/0.009087, allocations: 144.7 kB / 0.7338 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of [INI] Inline: time 0.0002287/0.009315, allocations: 199.9 kB / 0.734 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of [INI] Partitioning: time 2.536e-05/0.009341, allocations: 16.06 kB / 0.734 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of [INI] Cleanup: time 4.646e-05/0.009387, allocations: 28 kB / 0.734 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of [INI] Causalize: time 0.0003476/0.009735, allocations: 213.6 kB / 0.7343 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of [INI] Tearing: time 3.291e-05/0.009768, allocations: 8 kB / 0.7343 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of [SIM] Initialization: time 5.61e-07/0.009768, allocations: 0 / 0.7343 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of [SIM] Remove Dummies: time 1.683e-06/0.00977, allocations: 0 / 0.7343 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of [SIM] Tearing: time 7.144e-06/0.009777, allocations: 8 kB / 0.7343 GB, free: 6 MB / 0.7136 GB Notification: Performance of [SIM] Categorize: time 0.0001136/0.009891, allocations: 60.16 kB / 0.7343 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of [SIM] Solve: time 0.0001129/0.01, allocations: 55.91 kB / 0.7344 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of [SIM] Jacobian: time 0.000199/0.0102, allocations: 120.5 kB / 0.7345 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of [SIM] Minimize Homotopy System: time 7.81e-07/0.0102, allocations: 0 / 0.7345 GB, free: 5.715 MB / 0.7136 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 1 * 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: ............................. 2 (2) {dp_comp, der_dp_comp} * 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: ........... 11 (scalar:11, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 13 (scalar:13, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.688e-05/0.01026, allocations: 42.62 kB / 0.7345 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of SimCode: time 0.001187/0.01145, allocations: 0.5403 MB / 0.7351 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of Templates: time 0.005366/0.01681, allocations: 1.633 MB / 0.7367 GB, free: 3.523 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_inv_DerivativeCheck2.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: 7.582479199045338]