Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.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.001511/0.001511, 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.0016/0.0016, allocations: 212.4 kB / 23 MB, free: 4.961 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 7.797 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 2.965/2.965, allocations: 0.49 GB / 0.7958 GB, free: 35.46 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.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,tolerance=1e-08,outputFormat="mat",numberOfIntervals=100,variableFilter="time|ySet|yOut|minFloRatSaf.sigBus.mEvaMea_flow|minFloRatSaf.sigBus.mConMea_flow|minFloRatSaf.mEvaMin_flow|minFloRatSaf.mConMin_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,tolerance=1e-08,outputFormat="mat",numberOfIntervals=100,variableFilter="time|ySet|yOut|minFloRatSaf.sigBus.mEvaMea_flow|minFloRatSaf.sigBus.mConMea_flow|minFloRatSaf.mEvaMin_flow|minFloRatSaf.mConMin_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.389e-05, allocations: 3.969 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.00331/0.003334, allocations: 2.067 MB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.004376, allocations: 0.6033 MB / 1.158 GB, free: 23.45 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.004487, allocations: 5.156 kB / 1.158 GB, free: 23.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.004608, allocations: 30.88 kB / 1.158 GB, free: 23.42 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.004747, allocations: 50.55 kB / 1.158 GB, free: 23.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.004966, allocations: 99.64 kB / 1.158 GB, free: 23.33 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003257/0.005292, allocations: 357.7 kB / 1.158 GB, free: 23.16 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002297/0.005522, allocations: 108.3 kB / 1.158 GB, free: 23.09 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.005653, allocations: 134.8 kB / 1.158 GB, free: 23.02 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.005825, allocations: 149.7 kB / 1.159 GB, free: 22.94 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.478e-05/0.00589, allocations: 33.47 kB / 1.159 GB, free: 22.94 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.333e-05/0.005943, allocations: 33.47 kB / 1.159 GB, free: 22.94 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0003784/0.006322, allocations: 0.5485 MB / 1.159 GB, free: 22.55 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0001663/0.006488, allocations: 328.6 kB / 1.159 GB, free: 22.33 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.547e-05/0.006543, allocations: 18.66 kB / 1.159 GB, free: 22.33 MB / 0.9044 GB Notification: Performance of FrontEnd: time 5.105e-05/0.006594, allocations: 15.66 kB / 1.16 GB, free: 22.32 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: 52 (52) * Number of variables: 52 (52) Notification: Performance of [SIM] Bindings: time 0.001334/0.007929, allocations: 1.345 MB / 1.161 GB, free: 21.34 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001522/0.008081, allocations: 163.3 kB / 1.161 GB, free: 21.23 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0007494/0.00883, allocations: 0.8245 MB / 1.162 GB, free: 20.75 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002945/0.009125, allocations: 237.1 kB / 1.162 GB, free: 20.6 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.001667/0.01079, allocations: 1.268 MB / 1.163 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002019/0.01099, allocations: 188.9 kB / 1.163 GB, free: 19.66 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001301/0.01112, allocations: 141.8 kB / 1.164 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0003862/0.01151, allocations: 322.4 kB / 1.164 GB, free: 19.31 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0003229/0.01183, allocations: 223.2 kB / 1.164 GB, free: 19.18 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0003971/0.01223, allocations: 341 kB / 1.164 GB, free: 18.98 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0007729/0.013, allocations: 0.5389 MB / 1.165 GB, free: 18.79 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007676/0.01377, allocations: 0.7589 MB / 1.166 GB, free: 18.39 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0007412/0.01451, allocations: 0.5137 MB / 1.166 GB, free: 18.05 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.000834/0.01535, allocations: 0.9033 MB / 1.167 GB, free: 17.57 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 4.186e-05/0.01539, allocations: 25.36 kB / 1.167 GB, free: 17.55 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001334/0.01552, allocations: 155.6 kB / 1.167 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.00121/0.01673, allocations: 0.8848 MB / 1.168 GB, free: 17.25 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 2.291e-05/0.01675, allocations: 39.78 kB / 1.168 GB, free: 17.22 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 6.51e-07/0.01675, allocations: 0 / 1.168 GB, free: 17.22 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 8.956e-06/0.01676, allocations: 1.344 kB / 1.168 GB, free: 17.22 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.163e-05/0.01678, allocations: 22.78 kB / 1.168 GB, free: 17.21 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.48e-05/0.01679, allocations: 5.469 kB / 1.168 GB, free: 17.2 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0004234/0.01721, allocations: 338.2 kB / 1.168 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 9.278e-06/0.01722, allocations: 0.8125 kB / 1.168 GB, free: 17.06 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: ............... 0 * Number of algebraic event partitions: ......... 5 * 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: .................... 7 (7) {mEvaEmu_flow.T_start, mEvaEmu_flow.count, mConEmu_flow.T_start, mConEmu_flow.count, ySetPul.T_start, ySetPul.count, minFloRatSaf.disErr.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 26 (26) {hys.y, minFloRatSaf.err, minFloRatSaf.ySetOn.y, minFloRatSaf.errAndSetOn.y, minFloRatSaf.hysCon.y, minFloRatSaf.hysEva.y, minFloRatSaf.and1.y, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_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: ........... 33 (scalar:33, array:0, record:0) * Number of multi strong components: ............ 7 (algorithm:0, when:7, 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: ........... 57 (scalar:57, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:3, 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 0.0001256/0.01735, allocations: 49.33 kB / 1.169 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001112/0.01846, allocations: 0.9044 MB / 1.169 GB, free: 16.57 MB / 0.9044 GB Notification: Performance of Templates: time 0.007801/0.02626, allocations: 3.666 MB / 1.173 GB, free: 16.23 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_MinimalFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.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.13022568821907]