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_DerivativeCheck.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.00132/0.00132, allocations: 76.2 kB / 9.873 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001738/0.003057, 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.001155/0.001155, allocations: 154.1 kB / 11.19 MB, free: 2.98 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001699/0.002854, 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.585/1.585, allocations: 177.2 MB / 189.5 MB, free: 5.34 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1181/1.703, allocations: 53.67 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.88/3.88, allocations: 440.5 MB / 0.6684 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3587/4.238, allocations: 143.9 MB / 0.8089 GB, free: 12.41 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.34e-05, allocations: 2.312 kB / 0.8102 GB, free: 11.06 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.004227/0.00425, allocations: 1.419 MB / 0.8116 GB, free: 9.637 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.006026, allocations: 0.5876 MB / 0.8121 GB, free: 9.047 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.431e-05/0.006051, allocations: 0 / 0.8121 GB, free: 9.047 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.199e-05/0.006063, allocations: 0 / 0.8121 GB, free: 9.047 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.22e-05/0.006105, allocations: 3.938 kB / 0.8121 GB, free: 9.043 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007645/0.006869, allocations: 151.3 kB / 0.8123 GB, free: 8.895 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.006986, allocations: 23.86 kB / 0.8123 GB, free: 8.871 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 5.983e-05/0.007045, allocations: 11.92 kB / 0.8123 GB, free: 8.859 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.9e-05/0.007134, allocations: 12 kB / 0.8123 GB, free: 8.848 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.245e-05/0.007197, allocations: 3.984 kB / 0.8123 GB, free: 8.844 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.007216, allocations: 4 kB / 0.8123 GB, free: 8.84 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008971/0.008113, allocations: 331.2 kB / 0.8127 GB, free: 8.516 MB / 0.7917 GB Notification: Performance of combineBinaries: time 7.553e-05/0.008189, allocations: 27.8 kB / 0.8127 GB, free: 8.488 MB / 0.7917 GB Notification: Performance of replaceArrayConstructors: time 2.637e-05/0.008215, allocations: 19.88 kB / 0.8127 GB, free: 8.469 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.207e-05/0.008227, allocations: 4 kB / 0.8127 GB, free: 8.465 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.846e-06/0.008236, allocations: 0 / 0.8127 GB, free: 8.465 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: 4 (4) * Number of variables: 4 (4) Notification: Performance of [SIM] Bindings: time 0.0007748/0.009011, allocations: 277.1 kB / 0.813 GB, free: 8.074 MB / 0.7917 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001755/0.009187, allocations: 40.17 kB / 0.813 GB, free: 8.023 MB / 0.7917 GB Notification: Performance of [SIM] Early Inline: time 0.0002185/0.009405, allocations: 88.33 kB / 0.8131 GB, free: 7.91 MB / 0.7917 GB Notification: Performance of [SIM] Simplify: time 0.0001342/0.009539, allocations: 52.34 kB / 0.8131 GB, free: 7.832 MB / 0.7917 GB Notification: Performance of [SIM] Alias: time 0.000687/0.01023, allocations: 221.5 kB / 0.8134 GB, free: 7.535 MB / 0.7917 GB Notification: Performance of [SIM] Remove Stream: time 8.944e-05/0.01032, allocations: 40.44 kB / 0.8134 GB, free: 7.469 MB / 0.7917 GB Notification: Performance of [SIM] Algorithm Locals: time 4.087e-05/0.01036, allocations: 15.98 kB / 0.8134 GB, free: 7.453 MB / 0.7917 GB Notification: Performance of [SIM] Detect States: time 0.0002721/0.01063, allocations: 108.5 kB / 0.8135 GB, free: 7.285 MB / 0.7917 GB Notification: Performance of [SIM] Events: time 4.622e-05/0.01067, allocations: 23.84 kB / 0.8135 GB, free: 7.262 MB / 0.7917 GB Notification: Performance of [SIM] Partitioning: time 0.0001741/0.01085, allocations: 68.55 kB / 0.8136 GB, free: 7.16 MB / 0.7917 GB Notification: Performance of [SIM] Causalize: time 0.0006351/0.01148, allocations: 305.8 kB / 0.8139 GB, free: 6.824 MB / 0.7917 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001166/0.0116, allocations: 59.95 kB / 0.814 GB, free: 6.766 MB / 0.7917 GB Notification: Performance of [INI] Simplify: time 0.0002606/0.01186, allocations: 100.9 kB / 0.814 GB, free: 6.609 MB / 0.7917 GB Notification: Performance of [INI] Inline: time 0.0001694/0.01203, allocations: 95.94 kB / 0.8141 GB, free: 6.512 MB / 0.7917 GB Notification: Performance of [INI] Partitioning: time 0.0003139/0.01234, allocations: 12.12 kB / 0.8142 GB, free: 6.492 MB / 0.7917 GB Notification: Performance of [INI] Cleanup: time 4.82e-05/0.01239, allocations: 15.94 kB / 0.8142 GB, free: 6.477 MB / 0.7917 GB Notification: Performance of [INI] Causalize: time 0.0002618/0.01265, allocations: 107.9 kB / 0.8143 GB, free: 6.363 MB / 0.7917 GB Notification: Performance of [INI] Tearing: time 2.156e-05/0.01268, allocations: 4 kB / 0.8143 GB, free: 6.359 MB / 0.7917 GB Notification: Performance of [SIM] Initialization: time 4.348e-06/0.01268, allocations: 4 kB / 0.8143 GB, free: 6.355 MB / 0.7917 GB Notification: Performance of [SIM] Remove Dummies: time 2.444e-06/0.01268, allocations: 4 kB / 0.8143 GB, free: 6.352 MB / 0.7917 GB Notification: Performance of [SIM] Tearing: time 2.424e-06/0.01269, allocations: 0 / 0.8143 GB, free: 6.352 MB / 0.7917 GB Notification: Performance of [SIM] Categorize: time 0.0001204/0.01281, allocations: 48.11 kB / 0.8143 GB, free: 6.289 MB / 0.7917 GB Notification: Performance of [SIM] Solve: time 8.568e-05/0.01289, allocations: 19.98 kB / 0.8143 GB, free: 6.27 MB / 0.7917 GB Notification: Performance of [SIM] Jacobian: time 0.0001849/0.01308, allocations: 76.58 kB / 0.8144 GB, free: 6.156 MB / 0.7917 GB Notification: Performance of [SIM] Minimize Homotopy System: time 1.093e-06/0.01308, allocations: 0 / 0.8144 GB, free: 6.156 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: ............................. 1 (1) {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: ........... 4 (scalar:4, 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: ........... 5 (scalar:5, 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 8.712e-05/0.01316, allocations: 36.59 kB / 0.8145 GB, free: 6.121 MB / 0.7917 GB Notification: Performance of SimCode: time 0.001691/0.01486, allocations: 475.7 kB / 0.8149 GB, free: 5.641 MB / 0.7917 GB Notification: Performance of Templates: time 0.007076/0.02193, allocations: 1.427 MB / 0.8163 GB, free: 4.262 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_inv_DerivativeCheck.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.409662927035242]