Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.00166/0.00166, 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.001982/0.001982, allocations: 208.4 kB / 23 MB, free: 4.938 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.5/1.5, 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.208/3.208, allocations: 0.49 GB / 0.7958 GB, free: 35.42 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.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.353e-05, allocations: 4.109 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002019/0.002043, allocations: 1.26 MB / 1.156 GB, free: 24.35 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0008602/0.002903, allocations: 0.5128 MB / 1.157 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.721e-05/0.00293, allocations: 0.7188 kB / 1.157 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.002951, allocations: 5.531 kB / 1.157 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 3.543e-05/0.002986, allocations: 2 kB / 1.157 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005042/0.00349, allocations: 147.5 kB / 1.157 GB, free: 23.95 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 5.695e-05/0.003547, allocations: 14.61 kB / 1.157 GB, free: 23.95 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 6.046e-05/0.003608, allocations: 3.719 kB / 1.157 GB, free: 23.95 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 1.816e-05/0.003626, allocations: 2.375 kB / 1.157 GB, free: 23.95 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 3.749e-05/0.003664, allocations: 10.73 kB / 1.157 GB, free: 23.94 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.003674, allocations: 0 / 1.157 GB, free: 23.94 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003887/0.004063, allocations: 279.8 kB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of combineBinaries: time 5.108e-05/0.004114, allocations: 27.83 kB / 1.157 GB, free: 23.84 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.005e-05/0.004124, allocations: 21.22 kB / 1.157 GB, free: 23.83 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.628e-06/0.004134, allocations: 0 / 1.157 GB, free: 23.83 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.183e-06/0.004141, allocations: 0 / 1.157 GB, free: 23.83 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: 2 (2) * Number of variables: 2 (2) Notification: Performance of [SIM] Bindings: time 0.0003175/0.004458, allocations: 223.1 kB / 1.157 GB, free: 23.54 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.373e-05/0.004502, allocations: 29.56 kB / 1.157 GB, free: 23.51 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 5.369e-05/0.004556, allocations: 51.02 kB / 1.158 GB, free: 23.45 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 5.029e-05/0.004606, allocations: 65.39 kB / 1.158 GB, free: 23.35 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0002867/0.004893, allocations: 118.8 kB / 1.158 GB, free: 23.21 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 3.12e-05/0.004924, allocations: 64.19 kB / 1.158 GB, free: 23.11 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 1.928e-05/0.004943, allocations: 34.45 kB / 1.158 GB, free: 23.06 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 5.689e-05/0.005, allocations: 80.95 kB / 1.158 GB, free: 22.94 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 1.313e-05/0.005013, allocations: 2.422 kB / 1.158 GB, free: 22.94 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 5.856e-05/0.005072, allocations: 26.69 kB / 1.158 GB, free: 22.91 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 5.688e-05/0.005129, allocations: 30.42 kB / 1.158 GB, free: 22.89 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 2.123e-05/0.00515, allocations: 17.78 kB / 1.158 GB, free: 22.89 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 7.12e-05/0.005221, allocations: 98.33 kB / 1.158 GB, free: 22.74 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 2.936e-05/0.005251, allocations: 37.38 kB / 1.158 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 7.504e-06/0.005258, allocations: 10.75 kB / 1.158 GB, free: 22.7 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 1.126e-05/0.005269, allocations: 2.547 kB / 1.158 GB, free: 22.7 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 7.36e-05/0.005343, allocations: 37.5 kB / 1.158 GB, free: 22.68 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.538e-06/0.005352, allocations: 3.938 kB / 1.158 GB, free: 22.67 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.21e-07/0.005353, allocations: 1.75 kB / 1.158 GB, free: 22.67 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.506e-06/0.005356, allocations: 3.688 kB / 1.158 GB, free: 22.67 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.693e-06/0.005358, allocations: 0.8438 kB / 1.158 GB, free: 22.67 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 8.516e-06/0.005367, allocations: 4.344 kB / 1.158 GB, free: 22.67 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001474/0.005514, allocations: 156.3 kB / 1.158 GB, free: 22.54 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.665e-06/0.005522, allocations: 0 / 1.158 GB, free: 22.54 MB / 0.9044 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 2.919e-05/0.005551, allocations: 24.39 kB / 1.158 GB, free: 22.52 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006776/0.006228, allocations: 381.5 kB / 1.159 GB, free: 22.31 MB / 0.9044 GB Notification: Performance of Templates: time 0.003696/0.009924, allocations: 1.072 MB / 1.16 GB, free: 22.21 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.53120527928695]