Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.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.001553/0.001553, 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.001657/0.001657, 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.428/1.428, allocations: 225.6 MB / 250.2 MB, free: 3.141 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 2.749/2.749, allocations: 496.2 MB / 0.7826 GB, free: 12.26 MB / 0.6231 GB " [Timeout remaining time 177] 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.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|checkValve.k|checkValveDpFix.k|checkValve_m_flow.k",fileNamePrefix="Buildings_latest_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|checkValve.k|checkValveDpFix.k|checkValve_m_flow.k",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.969e-05/3.969e-05, allocations: 2.281 kB / 1.136 GB, free: 12.52 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02562/0.02566, allocations: 21.23 MB / 1.157 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008689/0.03435, allocations: 5.235 MB / 1.162 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.03548, allocations: 19.88 kB / 1.162 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.03656, allocations: 293.9 kB / 1.163 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003549/0.04011, allocations: 1.05 MB / 1.164 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.04202, allocations: 0.6316 MB / 1.164 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00279/0.04481, allocations: 1.746 MB / 1.166 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009836/0.04579, allocations: 0.5082 MB / 1.166 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.04778, allocations: 0.8565 MB / 1.167 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007768/0.04855, allocations: 0.5176 MB / 1.168 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.187e-05/0.04864, allocations: 48 kB / 1.168 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/0.05031, allocations: 0.7602 MB / 1.169 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of combineBinaries: time 0.001223/0.05153, allocations: 1.308 MB / 1.17 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of replaceArrayConstructors: time 0.0005603/0.05209, allocations: 0.7211 MB / 1.171 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.05228, allocations: 107.6 kB / 1.171 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of FrontEnd: time 0.0001506/0.05243, allocations: 16 kB / 1.171 GB, free: 9.34 MB / 0.9512 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 Bindings: time 0.002496/0.05493, allocations: 2.246 MB / 1.173 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of FunctionAlias: time 0.0002287/0.05515, allocations: 181 kB / 1.173 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of Early Inline: time 0.002715/0.05787, allocations: 2.558 MB / 1.176 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of Simplify 1: time 0.0004411/0.05831, allocations: 342.1 kB / 1.176 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of Alias: time 0.002149/0.06046, allocations: 1.313 MB / 1.177 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of Simplify 2: time 0.0003713/0.06083, allocations: 326.1 kB / 1.177 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of Remove Stream: time 0.0002565/0.06109, allocations: 262.2 kB / 1.178 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of Detect States: time 0.0004614/0.06155, allocations: 468.8 kB / 1.178 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of Events: time 0.0002843/0.06183, allocations: 240.9 kB / 1.178 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of Partitioning: time 0.0007214/0.06255, allocations: 0.711 MB / 1.179 GB, free: 260 kB / 0.9512 GB Notification: Performance of Causalize: time 0.002529/0.06508, allocations: 2.216 MB / 1.181 GB, free: 14 MB / 0.9669 GB Notification: Performance of After Index Reduction Inline: time 0.001518/0.0666, allocations: 1.37 MB / 1.183 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of Simplify: time 0.00253/0.06913, allocations: 1.476 MB / 1.184 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of Inline: time 0.002792/0.07192, allocations: 2.688 MB / 1.187 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of Partitioning: time 8.527e-05/0.07201, allocations: 43.61 kB / 1.187 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of Cleanup: time 0.0007736/0.07278, allocations: 0.823 MB / 1.188 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of Causalize: time 0.01021/0.08299, allocations: 7.99 MB / 1.195 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of Tearing: time 0.001844/0.08484, allocations: 1.628 MB / 1.197 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of Initialization: time 1.383e-06/0.08484, allocations: 0 / 1.197 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of Remove Dummies: time 1.791e-05/0.08486, allocations: 8.375 kB / 1.197 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of Tearing: time 0.001599/0.08645, allocations: 1.579 MB / 1.198 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of Categorize: time 3.005e-05/0.08648, allocations: 0 / 1.198 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of Solve: time 0.001393/0.08788, allocations: 0.5462 MB / 1.199 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of Jacobian: time 4.579e-06/0.08788, allocations: 0 / 1.199 GB, free: 11.67 MB / 0.9825 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: ......... 2 * 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: ................. 11 (11) {$SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $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: ........... 39 (scalar:39, 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: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 109 (scalar:106, 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: 0, nonlinear:1) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 113 (scalar:110, 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 8.877e-05/0.08797, allocations: 63 kB / 1.199 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of SimCode: time 0.005006/0.09298, allocations: 3.612 MB / 1.203 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of Templates: time 0.0222/0.1152, allocations: 12.64 MB / 1.215 GB, free: 11.28 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_CheckValve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable checkValve.k in file Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve_res.mat. Warning: Get data of variable checkValve.k from file Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve_res.mat failed! Error: Could not read variable checkValveDpFix.k in file Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve_res.mat. Warning: Get data of variable checkValveDpFix.k from file Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve_res.mat failed! Error: Could not read variable checkValve_m_flow.k in file Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve_res.mat. Warning: Get data of variable checkValve_m_flow.k from file Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.078369803726673]