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_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.001201/0.001201, allocations: 64.22 kB / 9.893 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001734/0.002935, 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.001121/0.001121, allocations: 154.1 kB / 11.22 MB, free: 2.953 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001605/0.002726, 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.66/1.66, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1337/1.794, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.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.195/3.195, allocations: 378.2 MB / 0.6076 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.6187/3.814, allocations: 123.3 MB / 0.728 GB, free: 5.867 MB / 0.698 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_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.444e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.574 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.006581/0.006606, allocations: 1.385 MB / 0.7306 GB, free: 3.207 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.008132, allocations: 0.5841 MB / 0.7312 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.994e-05/0.008152, allocations: 0 / 0.7312 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.858e-06/0.008162, allocations: 2.344 kB / 0.7312 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.108e-05/0.008193, allocations: 1.75 kB / 0.7312 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006228/0.008816, allocations: 153.3 kB / 0.7314 GB, free: 2.496 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003118/0.01193, allocations: 25.78 kB / 0.7314 GB, free: 2.477 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.01198, allocations: 4 kB / 0.7314 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.134e-05/0.01206, allocations: 14.48 kB / 0.7314 GB, free: 2.461 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.019e-05/0.01212, allocations: 11.92 kB / 0.7314 GB, free: 2.449 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.01213, allocations: 0 / 0.7314 GB, free: 2.449 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007884/0.01292, allocations: 331.8 kB / 0.7317 GB, free: 2.125 MB / 0.698 GB Notification: Performance of combineBinaries: time 6.167e-05/0.01298, allocations: 23.81 kB / 0.7317 GB, free: 2.102 MB / 0.698 GB Notification: Performance of replaceArrayConstructors: time 2.409e-05/0.01301, allocations: 17.59 kB / 0.7318 GB, free: 2.086 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.898e-06/0.01302, allocations: 4 kB / 0.7318 GB, free: 2.082 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.037e-06/0.01302, allocations: 0 / 0.7318 GB, free: 2.082 MB / 0.698 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.0006784/0.0137, allocations: 282 kB / 0.732 GB, free: 1.688 MB / 0.698 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001529/0.01386, allocations: 40.84 kB / 0.7321 GB, free: 1.637 MB / 0.698 GB Notification: Performance of [SIM] Early Inline: time 0.0001805/0.01404, allocations: 96.33 kB / 0.7322 GB, free: 1.516 MB / 0.698 GB Notification: Performance of [SIM] Simplify: time 0.0001016/0.01414, allocations: 44.97 kB / 0.7322 GB, free: 1.445 MB / 0.698 GB Notification: Performance of [SIM] Alias: time 0.003668/0.01781, allocations: 223 kB / 0.7324 GB, free: 1.152 MB / 0.698 GB Notification: Performance of [SIM] Remove Stream: time 8.504e-05/0.01789, allocations: 44.41 kB / 0.7325 GB, free: 1.082 MB / 0.698 GB Notification: Performance of [SIM] Algorithm Locals: time 3.482e-05/0.01793, allocations: 16 kB / 0.7325 GB, free: 1.066 MB / 0.698 GB Notification: Performance of [SIM] Detect States: time 0.0002901/0.01822, allocations: 113.8 kB / 0.7326 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of [SIM] Events: time 2.716e-05/0.01824, allocations: 9.328 kB / 0.7326 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of [SIM] Partitioning: time 0.0001823/0.01842, allocations: 80.34 kB / 0.7327 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of [SIM] Causalize: time 0.0005989/0.01902, allocations: 297.1 kB / 0.733 GB, free: 460 kB / 0.698 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001028/0.01913, allocations: 57.7 kB / 0.733 GB, free: 404 kB / 0.698 GB Notification: Performance of [INI] Simplify: time 0.0002392/0.01937, allocations: 108.8 kB / 0.7331 GB, free: 236 kB / 0.698 GB Notification: Performance of [INI] Inline: time 0.0001491/0.01951, allocations: 88 kB / 0.7332 GB, free: 144 kB / 0.698 GB Notification: Performance of [INI] Partitioning: time 2.521e-05/0.01954, allocations: 16.11 kB / 0.7332 GB, free: 120 kB / 0.698 GB Notification: Performance of [INI] Cleanup: time 3.967e-05/0.01958, allocations: 20.42 kB / 0.7332 GB, free: 100 kB / 0.698 GB Notification: Performance of [INI] Causalize: time 0.0002701/0.01985, allocations: 97.69 kB / 0.7333 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of [INI] Tearing: time 2.095e-05/0.01987, allocations: 5.219 kB / 0.7333 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of [SIM] Initialization: time 5.91e-07/0.01987, allocations: 3.938 kB / 0.7333 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of [SIM] Remove Dummies: time 2.304e-06/0.01987, allocations: 1.156 kB / 0.7333 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of [SIM] Tearing: time 5.35e-06/0.01988, allocations: 3.938 kB / 0.7333 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of [SIM] Categorize: time 0.0001058/0.01998, allocations: 53.36 kB / 0.7334 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of [SIM] Solve: time 7.844e-05/0.02006, allocations: 15.98 kB / 0.7334 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of [SIM] Jacobian: time 0.0001634/0.02023, allocations: 72.59 kB / 0.7335 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of [SIM] Minimize Homotopy System: time 8.32e-07/0.02023, allocations: 1.031 kB / 0.7335 GB, free: 15.79 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) {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 6.514e-05/0.02029, allocations: 32.91 kB / 0.7335 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of SimCode: time 0.00465/0.02494, allocations: 477.6 kB / 0.734 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of Templates: time 0.01296/0.0379, allocations: 1.433 MB / 0.7354 GB, free: 13.96 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.042647112044506]