Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 112.5 kB / 18.34 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 189.9 kB / 21.51 MB, free: 0.8945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 225.6 MB / 250.1 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.093/3.093, allocations: 496.2 MB / 0.7826 GB, free: 12.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.731e-05, allocations: 5.516 kB / 1.137 GB, free: 12.52 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002461/0.002488, allocations: 1.27 MB / 1.138 GB, free: 11.23 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.003639, allocations: 0.5915 MB / 1.138 GB, free: 10.64 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.003675, allocations: 0 / 1.138 GB, free: 10.64 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.003694, allocations: 4 kB / 1.138 GB, free: 10.64 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.183e-05/0.003756, allocations: 3.984 kB / 1.138 GB, free: 10.63 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005729/0.004329, allocations: 135.4 kB / 1.138 GB, free: 10.5 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.928e-05/0.004408, allocations: 11.92 kB / 1.138 GB, free: 10.49 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.345e-05/0.004462, allocations: 4 kB / 1.138 GB, free: 10.48 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.794e-05/0.00448, allocations: 0 / 1.138 GB, free: 10.48 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.306e-05/0.004523, allocations: 11.98 kB / 1.138 GB, free: 10.47 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.004536, allocations: 0 / 1.138 GB, free: 10.47 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004819/0.005017, allocations: 343.3 kB / 1.139 GB, free: 10.14 MB / 0.92 GB Notification: Performance of combineBinaries: time 5.396e-05/0.005071, allocations: 23.81 kB / 1.139 GB, free: 10.11 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 1.144e-05/0.005083, allocations: 15.75 kB / 1.139 GB, free: 10.1 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.345e-05/0.005096, allocations: 0 / 1.139 GB, free: 10.1 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.426e-06/0.005105, allocations: 0 / 1.139 GB, free: 10.1 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 (2) * Number of variables: 2 (2) Notification: Performance of Bindings: time 0.0004139/0.005519, allocations: 201.9 kB / 1.139 GB, free: 9.781 MB / 0.92 GB Notification: Performance of FunctionAlias: time 3.065e-05/0.005549, allocations: 10.73 kB / 1.139 GB, free: 9.773 MB / 0.92 GB Notification: Performance of Early Inline: time 7.976e-05/0.005629, allocations: 52.73 kB / 1.139 GB, free: 9.695 MB / 0.92 GB Notification: Performance of Simplify 1: time 4.814e-05/0.005677, allocations: 32.44 kB / 1.139 GB, free: 9.637 MB / 0.92 GB Notification: Performance of Alias: time 0.0003408/0.006018, allocations: 120.9 kB / 1.139 GB, free: 9.461 MB / 0.92 GB Notification: Performance of Simplify 2: time 3.446e-05/0.006052, allocations: 32.44 kB / 1.139 GB, free: 9.402 MB / 0.92 GB Notification: Performance of Remove Stream: time 6.135e-05/0.006114, allocations: 44.61 kB / 1.139 GB, free: 9.332 MB / 0.92 GB Notification: Performance of Detect States: time 0.0001276/0.006241, allocations: 55.59 kB / 1.139 GB, free: 9.238 MB / 0.92 GB Notification: Performance of Events: time 1.557e-05/0.006257, allocations: 7.922 kB / 1.139 GB, free: 9.23 MB / 0.92 GB Notification: Performance of Partitioning: time 4.984e-05/0.006307, allocations: 20.12 kB / 1.139 GB, free: 9.203 MB / 0.92 GB Notification: Performance of Causalize: time 7.067e-05/0.006377, allocations: 32.11 kB / 1.139 GB, free: 9.164 MB / 0.92 GB Notification: Performance of After Index Reduction Inline: time 1.078e-05/0.006388, allocations: 7.984 kB / 1.139 GB, free: 9.156 MB / 0.92 GB Notification: Performance of Simplify: time 0.0001135/0.006502, allocations: 72.78 kB / 1.14 GB, free: 9.035 MB / 0.92 GB Notification: Performance of Inline: time 2.357e-05/0.006525, allocations: 23.98 kB / 1.14 GB, free: 9.008 MB / 0.92 GB Notification: Performance of Partitioning: time 8.857e-06/0.006534, allocations: 8.125 kB / 1.14 GB, free: 8.992 MB / 0.92 GB Notification: Performance of Cleanup: time 1.463e-05/0.006549, allocations: 12 kB / 1.14 GB, free: 8.98 MB / 0.92 GB Notification: Performance of Causalize: time 6.674e-05/0.006615, allocations: 36.28 kB / 1.14 GB, free: 8.938 MB / 0.92 GB Notification: Performance of Tearing: time 1.009e-05/0.006626, allocations: 7.938 kB / 1.14 GB, free: 8.93 MB / 0.92 GB Notification: Performance of Initialization: time 3.01e-07/0.006626, allocations: 0 / 1.14 GB, free: 8.93 MB / 0.92 GB Notification: Performance of Remove Dummies: time 3.226e-06/0.006629, allocations: 0 / 1.14 GB, free: 8.93 MB / 0.92 GB Notification: Performance of Tearing: time 5.72e-07/0.00663, allocations: 0 / 1.14 GB, free: 8.93 MB / 0.92 GB Notification: Performance of Categorize: time 5.25e-06/0.006635, allocations: 0 / 1.14 GB, free: 8.93 MB / 0.92 GB Notification: Performance of Solve: time 0.0003335/0.006968, allocations: 359.9 kB / 1.14 GB, free: 8.527 MB / 0.92 GB Notification: Performance of Jacobian: time 3.486e-06/0.006972, allocations: 0 / 1.14 GB, free: 8.527 MB / 0.92 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete 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: ........... 0 (scalar:0, 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: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, 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: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 3.558e-05/0.007007, allocations: 15.58 kB / 1.14 GB, free: 8.516 MB / 0.92 GB Notification: Performance of SimCode: time 0.0009896/0.007997, allocations: 0.9731 MB / 1.141 GB, free: 7.516 MB / 0.92 GB Notification: Performance of Templates: time 0.003652/0.01165, allocations: 1.045 MB / 1.142 GB, free: 6.504 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,m_flow,m_flow_nominal,dp Variables in the result:dp,k,m_flow,m_flow_nominal,time [Calling sys.exit(0), Time elapsed: 8.821588487364352]