Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001825/0.001825, allocations: 100.4 kB / 19.72 MB, free: 2.121 MB / 14.72 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.002197/0.002197, allocations: 211.1 kB / 23.01 MB, free: 4.93 MB / 14.72 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.221/3.221, allocations: 0.49 GB / 0.7958 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/2.844e-05, allocations: 4.391 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002197/0.002226, allocations: 1.303 MB / 1.156 GB, free: 24.32 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.003229, allocations: 0.5325 MB / 1.157 GB, free: 23.98 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.003261, allocations: 1.156 kB / 1.157 GB, free: 23.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.772e-05/0.003279, allocations: 4.688 kB / 1.157 GB, free: 23.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.678e-05/0.003325, allocations: 1.828 kB / 1.157 GB, free: 23.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005366/0.003862, allocations: 148.6 kB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.365e-05/0.003936, allocations: 23.62 kB / 1.157 GB, free: 23.9 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.076e-05/0.003986, allocations: 15.05 kB / 1.157 GB, free: 23.89 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.948e-05/0.004026, allocations: 5.438 kB / 1.157 GB, free: 23.89 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.421e-05/0.00407, allocations: 12.88 kB / 1.157 GB, free: 23.89 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.004083, allocations: 1.031 kB / 1.157 GB, free: 23.89 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/0.004479, allocations: 280.5 kB / 1.157 GB, free: 23.81 MB / 0.9044 GB Notification: Performance of combineBinaries: time 7.241e-05/0.004551, allocations: 39.19 kB / 1.157 GB, free: 23.79 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.486e-05/0.004566, allocations: 27.97 kB / 1.157 GB, free: 23.77 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.296e-05/0.004579, allocations: 2.188 kB / 1.157 GB, free: 23.77 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.546e-06/0.004588, allocations: 1.125 kB / 1.157 GB, free: 23.77 MB / 0.9044 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.0003574/0.004945, allocations: 264.4 kB / 1.158 GB, free: 23.46 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.268e-05/0.004988, allocations: 31.62 kB / 1.158 GB, free: 23.42 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 7.131e-05/0.005059, allocations: 76.69 kB / 1.158 GB, free: 23.35 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 7.066e-05/0.00513, allocations: 76.17 kB / 1.158 GB, free: 23.24 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.000294/0.005424, allocations: 129.7 kB / 1.158 GB, free: 23.1 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 4.442e-05/0.005468, allocations: 73.5 kB / 1.158 GB, free: 23 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.668e-05/0.005495, allocations: 43.47 kB / 1.158 GB, free: 22.93 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001145/0.005609, allocations: 87.84 kB / 1.158 GB, free: 22.81 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 5.481e-05/0.005664, allocations: 5.078 kB / 1.158 GB, free: 22.81 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 7.638e-05/0.005741, allocations: 44.77 kB / 1.158 GB, free: 22.78 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0003274/0.006068, allocations: 293.7 kB / 1.158 GB, free: 22.54 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 5.229e-05/0.00612, allocations: 56.34 kB / 1.158 GB, free: 22.52 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001158/0.006236, allocations: 117.3 kB / 1.159 GB, free: 22.36 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 8.578e-05/0.006322, allocations: 90.11 kB / 1.159 GB, free: 22.32 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.176e-05/0.006334, allocations: 10.81 kB / 1.159 GB, free: 22.3 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 1.948e-05/0.006353, allocations: 14.56 kB / 1.159 GB, free: 22.29 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0001603/0.006513, allocations: 97.08 kB / 1.159 GB, free: 22.26 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.271e-05/0.006526, allocations: 8.75 kB / 1.159 GB, free: 22.25 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.91e-07/0.006527, allocations: 0 / 1.159 GB, free: 22.25 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.807e-06/0.00653, allocations: 0 / 1.159 GB, free: 22.25 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.565e-06/0.006533, allocations: 6.25 kB / 1.159 GB, free: 22.25 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.841e-06/0.006539, allocations: 0 / 1.159 GB, free: 22.25 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 7.2e-05/0.006611, allocations: 30.19 kB / 1.159 GB, free: 22.24 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0001249/0.006736, allocations: 190.5 kB / 1.159 GB, free: 22.04 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * 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: ................. 1 (1) {$SEV_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: ........... 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 6 (scalar:6, 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 3.543e-05/0.006771, allocations: 31.33 kB / 1.159 GB, free: 22.01 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008652/0.007636, allocations: 423.9 kB / 1.159 GB, free: 21.78 MB / 0.9044 GB Notification: Performance of Templates: time 0.004221/0.01186, allocations: 1.242 MB / 1.161 GB, free: 21.66 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.diff",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.562700833659619]