Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Examples.CheckValve.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.001194/0.001194, allocations: 104.3 kB / 19.72 MB, free: 2.145 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.00128/0.00128, allocations: 209.9 kB / 23.01 MB, free: 4.965 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.291/1.291, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 179] 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 2.873/2.873, allocations: 0.49 GB / 0.7958 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] 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.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|checkValve.dp|checkValve_m_flow.dp|checkValve.m_flow|checkValveDpFix.m_flow|checkValve_m_flow.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|checkValve.dp|checkValve_m_flow.dp|checkValve.m_flow|checkValveDpFix.m_flow|checkValve_m_flow.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Examples.CheckValve") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.558e-05/1.558e-05, allocations: 2.281 kB / 1.155 GB, free: 25.02 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01562/0.01564, allocations: 19.42 MB / 1.174 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00584/0.02148, allocations: 4.8 MB / 1.179 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005224/0.022, allocations: 26.72 kB / 1.179 GB, free: 8.719 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006518/0.02265, allocations: 278.5 kB / 1.179 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002184/0.02484, allocations: 1.053 MB / 1.18 GB, free: 7.969 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.02618, allocations: 0.652 MB / 1.181 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001687/0.02787, allocations: 1.797 MB / 1.182 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006505/0.02852, allocations: 0.5176 MB / 1.183 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.02972, allocations: 0.8872 MB / 1.184 GB, free: 6.238 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005628/0.03028, allocations: 0.5209 MB / 1.184 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.192e-05/0.03037, allocations: 47.28 kB / 1.184 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.0314, allocations: 0.5939 MB / 1.185 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0009228/0.03232, allocations: 1.427 MB / 1.186 GB, free: 4.957 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0003618/0.03268, allocations: 0.837 MB / 1.187 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.118e-05/0.03277, allocations: 51.38 kB / 1.187 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.751e-05/0.03284, allocations: 24.2 kB / 1.187 GB, free: 4.387 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: 62 (56) * Number of variables: 62 (53) Notification: Performance of [SIM] Bindings: time 0.002088/0.03493, allocations: 2.898 MB / 1.19 GB, free: 2.496 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002859/0.03521, allocations: 311.1 kB / 1.19 GB, free: 2.309 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.004015/0.03923, allocations: 4.028 MB / 1.194 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.001335/0.04056, allocations: 1.008 MB / 1.195 GB, free: 176 kB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.002858/0.04342, allocations: 1.95 MB / 1.197 GB, free: 15 MB / 0.92 GB Notification: Performance of [SIM] Simplify 2: time 0.00111/0.04453, allocations: 0.989 MB / 1.198 GB, free: 14.55 MB / 0.92 GB Notification: Performance of [SIM] Remove Stream: time 0.000267/0.0448, allocations: 267.2 kB / 1.198 GB, free: 14.39 MB / 0.92 GB Notification: Performance of [SIM] Detect States: time 0.0006219/0.04542, allocations: 0.6297 MB / 1.199 GB, free: 13.99 MB / 0.92 GB Notification: Performance of [SIM] Events: time 0.000121/0.04554, allocations: 64.94 kB / 1.199 GB, free: 13.96 MB / 0.92 GB Notification: Performance of [SIM] Partitioning: time 0.0009256/0.04647, allocations: 0.8928 MB / 1.2 GB, free: 13.57 MB / 0.92 GB Notification: Performance of [SIM] Causalize: time 0.001182/0.04765, allocations: 0.8284 MB / 1.201 GB, free: 13.32 MB / 0.92 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001999/0.04965, allocations: 2.065 MB / 1.203 GB, free: 12.36 MB / 0.92 GB Notification: Performance of [INI] Simplify: time 0.003142/0.05279, allocations: 2.191 MB / 1.205 GB, free: 11.34 MB / 0.92 GB Notification: Performance of [INI] Inline: time 0.003618/0.05641, allocations: 3.786 MB / 1.209 GB, free: 9.523 MB / 0.92 GB Notification: Performance of [INI] Partitioning: time 9.147e-05/0.0565, allocations: 42.62 kB / 1.209 GB, free: 9.496 MB / 0.92 GB Notification: Performance of [INI] Cleanup: time 0.0007911/0.05729, allocations: 0.7978 MB / 1.209 GB, free: 9.094 MB / 0.92 GB Notification: Performance of [INI] Causalize: time 0.00646/0.06375, allocations: 4.63 MB / 1.214 GB, free: 8.074 MB / 0.92 GB Notification: Performance of [INI] Tearing: time 0.000632/0.06438, allocations: 0.6428 MB / 1.214 GB, free: 7.621 MB / 0.92 GB Notification: Performance of [SIM] Initialization: time 8.82e-07/0.06438, allocations: 0 / 1.214 GB, free: 7.621 MB / 0.92 GB Notification: Performance of [SIM] Remove Dummies: time 1.081e-05/0.0644, allocations: 5.969 kB / 1.214 GB, free: 7.617 MB / 0.92 GB Notification: Performance of [SIM] Tearing: time 0.000568/0.06496, allocations: 0.5542 MB / 1.215 GB, free: 7.223 MB / 0.92 GB Notification: Performance of [SIM] Categorize: time 1.561e-05/0.06498, allocations: 2.281 kB / 1.215 GB, free: 7.223 MB / 0.92 GB Notification: Performance of [SIM] Solve: time 0.004272/0.06925, allocations: 3.581 MB / 1.219 GB, free: 6.086 MB / 0.92 GB Notification: Performance of [SIM] Jacobian: time 0.003568/0.07282, allocations: 3.776 MB / 1.222 GB, free: 3.727 MB / 0.92 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 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: ................. 5 (5) {$SEV_0, $TEV_3, $TEV_2, $TEV_1, $TEV_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: ........... 35 (scalar:35, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 4, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 105 (scalar:102, array:3, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 4, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 107 (scalar:104, array:3, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 4, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 9.944e-05/0.07292, allocations: 63.91 kB / 1.222 GB, free: 3.672 MB / 0.92 GB Notification: Performance of SimCode: time 0.004745/0.07766, allocations: 3.245 MB / 1.225 GB, free: 1.75 MB / 0.92 GB Notification: Performance of Templates: time 0.02034/0.098, allocations: 13.32 MB / 1.238 GB, free: 10.58 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Examples.CheckValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Examples_CheckValve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.CheckValve.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.493816694710404]