Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001417/0.001417, allocations: 76.2 kB / 9.873 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001967/0.003384, allocations: 444.7 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.001488/0.001488, allocations: 153.7 kB / 11.19 MB, free: 2.98 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001927/0.003415, 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.591/1.591, allocations: 177.2 MB / 189.5 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1163/1.707, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.949/3.949, allocations: 440.5 MB / 0.6684 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3275/4.276, allocations: 143.9 MB / 0.8089 GB, free: 12.4 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.BasicFlowFunction_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der_dp|der_dp_comp",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.098e-05, allocations: 4.562 kB / 0.8102 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.002638/0.002659, allocations: 1.433 MB / 0.8116 GB, free: 9.609 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.003831, allocations: 0.6109 MB / 0.8122 GB, free: 8.996 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.905e-05/0.00385, allocations: 0 / 0.8122 GB, free: 8.996 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.172e-05/0.003862, allocations: 3.938 kB / 0.8122 GB, free: 8.992 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.27e-05/0.003885, allocations: 0 / 0.8122 GB, free: 8.992 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004911/0.004376, allocations: 167.2 kB / 0.8123 GB, free: 8.828 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.499e-05/0.004451, allocations: 27.86 kB / 0.8124 GB, free: 8.801 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.004489, allocations: 4 kB / 0.8124 GB, free: 8.797 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.902e-05/0.004548, allocations: 19.98 kB / 0.8124 GB, free: 8.777 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.934e-05/0.004617, allocations: 19.91 kB / 0.8124 GB, free: 8.758 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.00463, allocations: 0 / 0.8124 GB, free: 8.758 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005527/0.005182, allocations: 327.3 kB / 0.8127 GB, free: 8.438 MB / 0.7917 GB Notification: Performance of combineBinaries: time 7.013e-05/0.005252, allocations: 43.69 kB / 0.8128 GB, free: 8.395 MB / 0.7917 GB Notification: Performance of replaceArrayConstructors: time 2.158e-05/0.005274, allocations: 23.81 kB / 0.8128 GB, free: 8.371 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 9.258e-06/0.005283, allocations: 4 kB / 0.8128 GB, free: 8.367 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.725e-06/0.005291, allocations: 0 / 0.8128 GB, free: 8.367 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.0005976/0.005889, allocations: 328.9 kB / 0.8131 GB, free: 7.926 MB / 0.7917 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001141/0.006003, allocations: 32.19 kB / 0.8131 GB, free: 7.883 MB / 0.7917 GB Notification: Performance of [SIM] Early Inline: time 0.0004235/0.006426, allocations: 120.3 kB / 0.8133 GB, free: 7.738 MB / 0.7917 GB Notification: Performance of [SIM] Simplify: time 9.7e-05/0.006523, allocations: 56.41 kB / 0.8133 GB, free: 7.656 MB / 0.7917 GB Notification: Performance of [SIM] Alias: time 0.0004595/0.006983, allocations: 208.8 kB / 0.8135 GB, free: 7.379 MB / 0.7917 GB Notification: Performance of [SIM] Remove Stream: time 7.027e-05/0.007053, allocations: 48.42 kB / 0.8136 GB, free: 7.305 MB / 0.7917 GB Notification: Performance of [SIM] Algorithm Locals: time 2.899e-05/0.007082, allocations: 16.33 kB / 0.8136 GB, free: 7.289 MB / 0.7917 GB Notification: Performance of [SIM] Detect States: time 0.0002259/0.007308, allocations: 133 kB / 0.8137 GB, free: 7.094 MB / 0.7917 GB Notification: Performance of [SIM] Events: time 3.248e-05/0.00734, allocations: 19.86 kB / 0.8137 GB, free: 7.074 MB / 0.7917 GB Notification: Performance of [SIM] Partitioning: time 0.0001655/0.007506, allocations: 100.4 kB / 0.8138 GB, free: 6.941 MB / 0.7917 GB Notification: Performance of [SIM] Causalize: time 0.0009908/0.008497, allocations: 0.7001 MB / 0.8145 GB, free: 6.18 MB / 0.7917 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001537/0.00865, allocations: 131.9 kB / 0.8146 GB, free: 6.051 MB / 0.7917 GB Notification: Performance of [INI] Simplify: time 0.0002529/0.008903, allocations: 140.7 kB / 0.8148 GB, free: 5.855 MB / 0.7917 GB Notification: Performance of [INI] Inline: time 0.0002327/0.009136, allocations: 199.9 kB / 0.8149 GB, free: 5.656 MB / 0.7917 GB Notification: Performance of [INI] Partitioning: time 2.578e-05/0.009162, allocations: 16.06 kB / 0.815 GB, free: 5.633 MB / 0.7917 GB Notification: Performance of [INI] Cleanup: time 4.913e-05/0.009211, allocations: 31.94 kB / 0.815 GB, free: 5.602 MB / 0.7917 GB Notification: Performance of [INI] Causalize: time 0.0003608/0.009572, allocations: 227.1 kB / 0.8152 GB, free: 5.387 MB / 0.7917 GB Notification: Performance of [INI] Tearing: time 2.514e-05/0.009597, allocations: 12 kB / 0.8152 GB, free: 5.375 MB / 0.7917 GB Notification: Performance of [SIM] Initialization: time 5.72e-07/0.009597, allocations: 0 / 0.8152 GB, free: 5.375 MB / 0.7917 GB Notification: Performance of [SIM] Remove Dummies: time 2.114e-06/0.009599, allocations: 0 / 0.8152 GB, free: 5.375 MB / 0.7917 GB Notification: Performance of [SIM] Tearing: time 1.102e-05/0.00961, allocations: 8 kB / 0.8152 GB, free: 5.367 MB / 0.7917 GB Notification: Performance of [SIM] Categorize: time 0.000122/0.009732, allocations: 56.22 kB / 0.8153 GB, free: 5.297 MB / 0.7917 GB Notification: Performance of [SIM] Solve: time 0.0001134/0.009846, allocations: 51.91 kB / 0.8153 GB, free: 5.246 MB / 0.7917 GB Notification: Performance of [SIM] Jacobian: time 0.0002019/0.01005, allocations: 120.5 kB / 0.8154 GB, free: 5.09 MB / 0.7917 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.41e-07/0.01005, allocations: 0 / 0.8154 GB, free: 5.09 MB / 0.7917 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.12e-05/0.0101, allocations: 33.31 kB / 0.8155 GB, free: 5.062 MB / 0.7917 GB Notification: Performance of SimCode: time 0.001165/0.01126, allocations: 0.5326 MB / 0.816 GB, free: 4.516 MB / 0.7917 GB Notification: Performance of Templates: time 0.005126/0.01639, allocations: 1.642 MB / 0.8176 GB, free: 2.914 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 8.405209730030037]