Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00113/0.00113, allocations: 76.2 kB / 9.873 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001672/0.002802, 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.001236/0.001236, allocations: 153.7 kB / 11.19 MB, free: 2.98 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001697/0.002933, 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.572/1.572, allocations: 177.2 MB / 189.5 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1179/1.69, 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.978/3.978, allocations: 440.5 MB / 0.6684 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3388/4.316, allocations: 143.9 MB / 0.8089 GB, free: 12.36 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_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_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/1.991e-05, allocations: 2.312 kB / 0.8102 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.003028/0.003048, allocations: 1.421 MB / 0.8116 GB, free: 9.586 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.004181, allocations: 0.5992 MB / 0.8122 GB, free: 8.984 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.799e-05/0.004199, allocations: 0 / 0.8122 GB, free: 8.984 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.915e-06/0.004206, allocations: 0 / 0.8122 GB, free: 8.984 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.687e-05/0.004233, allocations: 3.938 kB / 0.8122 GB, free: 8.98 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004713/0.004705, allocations: 159.2 kB / 0.8123 GB, free: 8.824 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.798e-05/0.004783, allocations: 27.91 kB / 0.8123 GB, free: 8.797 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 5.708e-05/0.00484, allocations: 7.938 kB / 0.8123 GB, free: 8.789 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.991e-05/0.00491, allocations: 23.91 kB / 0.8124 GB, free: 8.766 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.004974, allocations: 7.984 kB / 0.8124 GB, free: 8.758 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.004987, allocations: 4 kB / 0.8124 GB, free: 8.754 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005782/0.005565, allocations: 327.3 kB / 0.8127 GB, free: 8.434 MB / 0.7917 GB Notification: Performance of combineBinaries: time 7.708e-05/0.005642, allocations: 35.75 kB / 0.8127 GB, free: 8.398 MB / 0.7917 GB Notification: Performance of replaceArrayConstructors: time 2.934e-05/0.005671, allocations: 23.81 kB / 0.8128 GB, free: 8.375 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.098e-05/0.005682, allocations: 4 kB / 0.8128 GB, free: 8.371 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.091e-05/0.005693, allocations: 3.938 kB / 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.0005884/0.006281, allocations: 336.2 kB / 0.8131 GB, free: 7.922 MB / 0.7917 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001153/0.006397, allocations: 36.17 kB / 0.8131 GB, free: 7.875 MB / 0.7917 GB Notification: Performance of [SIM] Early Inline: time 0.0001816/0.006578, allocations: 120.3 kB / 0.8132 GB, free: 7.73 MB / 0.7917 GB Notification: Performance of [SIM] Simplify: time 9.312e-05/0.006671, allocations: 56.41 kB / 0.8133 GB, free: 7.648 MB / 0.7917 GB Notification: Performance of [SIM] Alias: time 0.0004585/0.00713, allocations: 204.8 kB / 0.8135 GB, free: 7.375 MB / 0.7917 GB Notification: Performance of [SIM] Remove Stream: time 8.547e-05/0.007215, allocations: 48.41 kB / 0.8135 GB, free: 7.301 MB / 0.7917 GB Notification: Performance of [SIM] Algorithm Locals: time 3.238e-05/0.007248, allocations: 16.34 kB / 0.8135 GB, free: 7.285 MB / 0.7917 GB Notification: Performance of [SIM] Detect States: time 0.0002164/0.007464, allocations: 133 kB / 0.8137 GB, free: 7.09 MB / 0.7917 GB Notification: Performance of [SIM] Events: time 3.009e-05/0.007494, allocations: 19.92 kB / 0.8137 GB, free: 7.07 MB / 0.7917 GB Notification: Performance of [SIM] Partitioning: time 0.0001465/0.007641, allocations: 92.47 kB / 0.8138 GB, free: 6.945 MB / 0.7917 GB Notification: Performance of [SIM] Causalize: time 0.0009554/0.008596, allocations: 0.7194 MB / 0.8145 GB, free: 6.16 MB / 0.7917 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000139/0.008735, allocations: 115.9 kB / 0.8146 GB, free: 6.047 MB / 0.7917 GB Notification: Performance of [INI] Simplify: time 0.0002293/0.008964, allocations: 144.7 kB / 0.8147 GB, free: 5.848 MB / 0.7917 GB Notification: Performance of [INI] Inline: time 0.0002304/0.009195, allocations: 199.9 kB / 0.8149 GB, free: 5.648 MB / 0.7917 GB Notification: Performance of [INI] Partitioning: time 2.585e-05/0.009221, allocations: 20.05 kB / 0.8149 GB, free: 5.621 MB / 0.7917 GB Notification: Performance of [INI] Cleanup: time 4.595e-05/0.009267, allocations: 27.98 kB / 0.815 GB, free: 5.594 MB / 0.7917 GB Notification: Performance of [INI] Causalize: time 0.0003325/0.009599, allocations: 219.3 kB / 0.8152 GB, free: 5.391 MB / 0.7917 GB Notification: Performance of [INI] Tearing: time 2.326e-05/0.009622, allocations: 12 kB / 0.8152 GB, free: 5.379 MB / 0.7917 GB Notification: Performance of [SIM] Initialization: time 5.01e-07/0.009623, allocations: 0 / 0.8152 GB, free: 5.379 MB / 0.7917 GB Notification: Performance of [SIM] Remove Dummies: time 1.773e-06/0.009625, allocations: 0 / 0.8152 GB, free: 5.379 MB / 0.7917 GB Notification: Performance of [SIM] Tearing: time 6.973e-06/0.009632, allocations: 8 kB / 0.8152 GB, free: 5.371 MB / 0.7917 GB Notification: Performance of [SIM] Categorize: time 0.0001069/0.009739, allocations: 60.16 kB / 0.8152 GB, free: 5.297 MB / 0.7917 GB Notification: Performance of [SIM] Solve: time 0.0001016/0.00984, allocations: 51.91 kB / 0.8153 GB, free: 5.246 MB / 0.7917 GB Notification: Performance of [SIM] Jacobian: time 0.0001926/0.01003, allocations: 124.5 kB / 0.8154 GB, free: 5.086 MB / 0.7917 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.51e-07/0.01003, allocations: 0 / 0.8154 GB, free: 5.086 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) {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 6.109e-05/0.01009, allocations: 28.14 kB / 0.8154 GB, free: 5.059 MB / 0.7917 GB Notification: Performance of SimCode: time 0.001094/0.01119, allocations: 0.5356 MB / 0.816 GB, free: 4.512 MB / 0.7917 GB Notification: Performance of Templates: time 0.005411/0.0166, allocations: 1.681 MB / 0.8176 GB, free: 2.879 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 8.503962758928537]