Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.0013/0.0013, allocations: 64.22 kB / 9.893 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001614/0.002914, 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.001207/0.001207, allocations: 154.1 kB / 11.22 MB, free: 2.953 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001612/0.002819, 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.659/1.659, allocations: 177.1 MB / 189.5 MB, free: 3.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1991/1.858, allocations: 53.66 MB / 243.2 MB, free: 2.383 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.174/3.174, allocations: 378.2 MB / 0.6076 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2895/3.464, allocations: 123.3 MB / 0.728 GB, free: 12.97 MB / 0.7136 GB " [Timeout remaining time 177] 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_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der_m_flow|der_m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der_m_flow|der_m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.667e-05/1.667e-05, allocations: 2.312 kB / 0.7293 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.002605/0.002621, allocations: 1.399 MB / 0.7306 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.003808, allocations: 0.5953 MB / 0.7312 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.969e-05/0.003828, allocations: 0 / 0.7312 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.975e-06/0.003836, allocations: 0 / 0.7312 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.444e-05/0.00386, allocations: 3.984 kB / 0.7312 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004966/0.004357, allocations: 159.2 kB / 0.7314 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.845e-05/0.004445, allocations: 27.92 kB / 0.7314 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.511e-05/0.0045, allocations: 7.875 kB / 0.7314 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.274e-05/0.004573, allocations: 19.98 kB / 0.7314 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.386e-05/0.004667, allocations: 15.91 kB / 0.7315 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.004682, allocations: 0 / 0.7315 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005786/0.005261, allocations: 331.3 kB / 0.7318 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of combineBinaries: time 7.125e-05/0.005332, allocations: 31.75 kB / 0.7318 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of replaceArrayConstructors: time 2.439e-05/0.005356, allocations: 23.81 kB / 0.7318 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.708e-06/0.005366, allocations: 8 kB / 0.7318 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.563e-06/0.005372, allocations: 0 / 0.7318 GB, free: 9.043 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.000743/0.006115, allocations: 332.9 kB / 0.7321 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of [SIM] FunctionAlias: time 0.000164/0.00628, allocations: 40 kB / 0.7322 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of [SIM] Early Inline: time 0.0001891/0.006469, allocations: 124.3 kB / 0.7323 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of [SIM] Simplify: time 0.0001005/0.006569, allocations: 52.41 kB / 0.7324 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of [SIM] Alias: time 0.000546/0.007115, allocations: 204.9 kB / 0.7325 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of [SIM] Remove Stream: time 8.365e-05/0.007199, allocations: 56.34 kB / 0.7326 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of [SIM] Algorithm Locals: time 3.532e-05/0.007234, allocations: 20 kB / 0.7326 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of [SIM] Detect States: time 0.0002461/0.00748, allocations: 133.3 kB / 0.7327 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of [SIM] Events: time 4.192e-05/0.007522, allocations: 19.94 kB / 0.7328 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of [SIM] Partitioning: time 0.0004783/0.008, allocations: 92.45 kB / 0.7329 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of [SIM] Causalize: time 0.001/0.009001, allocations: 0.694 MB / 0.7335 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001488/0.00915, allocations: 123.9 kB / 0.7337 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of [INI] Simplify: time 0.0002366/0.009386, allocations: 136.7 kB / 0.7338 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of [INI] Inline: time 0.0002368/0.009623, allocations: 203.9 kB / 0.734 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of [INI] Partitioning: time 2.155e-05/0.009644, allocations: 20.06 kB / 0.734 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of [INI] Cleanup: time 5.163e-05/0.009696, allocations: 31.98 kB / 0.734 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of [INI] Causalize: time 0.000344/0.01004, allocations: 216 kB / 0.7342 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of [INI] Tearing: time 1.68e-05/0.01006, allocations: 4 kB / 0.7342 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of [SIM] Initialization: time 4.51e-07/0.01006, allocations: 0 / 0.7342 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of [SIM] Remove Dummies: time 1.633e-06/0.01006, allocations: 4 kB / 0.7342 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of [SIM] Tearing: time 8.296e-06/0.01007, allocations: 8 kB / 0.7342 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of [SIM] Categorize: time 0.0001129/0.01018, allocations: 56.23 kB / 0.7343 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of [SIM] Solve: time 0.0001114/0.01029, allocations: 51.91 kB / 0.7344 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of [SIM] Jacobian: time 0.0001938/0.01049, allocations: 124.4 kB / 0.7345 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of [SIM] Minimize Homotopy System: time 7.71e-07/0.01049, allocations: 0 / 0.7345 GB, free: 5.766 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) {m_flow_comp, der_m_flow_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.451e-05/0.01054, allocations: 37.94 kB / 0.7345 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of SimCode: time 0.001119/0.01166, allocations: 0.5326 MB / 0.735 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.005223/0.01688, allocations: 1.672 MB / 0.7367 GB, free: 3.543 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.7083853599615395]