Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001577/0.001577, allocations: 64.22 kB / 9.893 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002259/0.003836, 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.001664/0.001664, allocations: 154.1 kB / 11.22 MB, free: 2.953 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002061/0.003724, 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.614/1.614, allocations: 177.1 MB / 189.6 MB, free: 3.793 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2005/1.814, allocations: 53.66 MB / 243.2 MB, free: 2.363 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.411/3.411, allocations: 378.2 MB / 0.6076 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2923/3.704, allocations: 123.3 MB / 0.728 GB, free: 12.96 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.815e-05, allocations: 6.109 kB / 0.7293 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck): time 0.002464/0.002482, allocations: 1.403 MB / 0.7307 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.003586, allocations: 0.6031 MB / 0.7312 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.446e-05/0.003601, allocations: 0 / 0.7312 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.013e-05/0.003611, allocations: 3.938 kB / 0.7313 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 1.926e-05/0.00363, allocations: 0 / 0.7313 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004494/0.00408, allocations: 163.2 kB / 0.7314 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.506e-05/0.004155, allocations: 23.86 kB / 0.7314 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.113e-05/0.004196, allocations: 7.984 kB / 0.7314 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.619e-05/0.004252, allocations: 8 kB / 0.7314 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.253e-05/0.004295, allocations: 7.984 kB / 0.7315 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.004305, allocations: 0 / 0.7315 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005411/0.004846, allocations: 331.3 kB / 0.7318 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of combineBinaries: time 4.494e-05/0.004891, allocations: 23.81 kB / 0.7318 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of replaceArrayConstructors: time 1.971e-05/0.004911, allocations: 19.81 kB / 0.7318 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.718e-06/0.004921, allocations: 4 kB / 0.7318 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.761e-06/0.004926, allocations: 4 kB / 0.7318 GB, free: 9.055 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: 4 (4) * Number of variables: 4 (4) Notification: Performance of [SIM] Bindings: time 0.0005353/0.005462, allocations: 281.2 kB / 0.7321 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001104/0.005572, allocations: 40.09 kB / 0.7321 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of [SIM] Early Inline: time 0.0001327/0.005705, allocations: 92.38 kB / 0.7322 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of [SIM] Simplify: time 7.908e-05/0.005784, allocations: 44.36 kB / 0.7323 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of [SIM] Alias: time 0.0004814/0.006265, allocations: 221.7 kB / 0.7325 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of [SIM] Remove Stream: time 5.624e-05/0.006321, allocations: 40.41 kB / 0.7325 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of [SIM] Algorithm Locals: time 2.093e-05/0.006342, allocations: 20 kB / 0.7325 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of [SIM] Detect States: time 0.0001878/0.00653, allocations: 105 kB / 0.7326 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of [SIM] Events: time 2.623e-05/0.006556, allocations: 19.86 kB / 0.7326 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of [SIM] Partitioning: time 0.0001259/0.006682, allocations: 68.55 kB / 0.7327 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of [SIM] Causalize: time 0.0006185/0.007301, allocations: 293.8 kB / 0.733 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of [SIM] After Index Reduction Inline: time 7.84e-05/0.007379, allocations: 63.89 kB / 0.733 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of [INI] Simplify: time 0.0001825/0.007562, allocations: 104.9 kB / 0.7331 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of [INI] Inline: time 0.0001063/0.007668, allocations: 88 kB / 0.7332 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of [INI] Partitioning: time 2.022e-05/0.007688, allocations: 24.05 kB / 0.7333 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of [INI] Cleanup: time 2.831e-05/0.007716, allocations: 15.98 kB / 0.7333 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of [INI] Causalize: time 0.0001724/0.007889, allocations: 104 kB / 0.7334 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of [INI] Tearing: time 1.137e-05/0.0079, allocations: 0 / 0.7334 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of [SIM] Initialization: time 4.41e-07/0.007901, allocations: 0 / 0.7334 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of [SIM] Remove Dummies: time 1.272e-06/0.007902, allocations: 0 / 0.7334 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of [SIM] Tearing: time 7.734e-06/0.00791, allocations: 15.94 kB / 0.7334 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of [SIM] Categorize: time 6.306e-05/0.007973, allocations: 32.23 kB / 0.7334 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of [SIM] Solve: time 7.148e-05/0.008044, allocations: 23.98 kB / 0.7334 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of [SIM] Jacobian: time 0.000119/0.008163, allocations: 72.59 kB / 0.7335 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.11e-07/0.008164, allocations: 0 / 0.7335 GB, free: 6.762 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: ............................. 1 (1) {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: ........... 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 5.019e-05/0.008214, allocations: 42.33 kB / 0.7335 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of SimCode: time 0.0009196/0.009133, allocations: 478.2 kB / 0.734 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of Templates: time 0.004331/0.01346, allocations: 1.399 MB / 0.7354 GB, free: 4.867 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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: 7.950998396030627]