Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.001484/0.001484, allocations: 108.3 kB / 19.71 MB, free: 2.152 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.00163/0.00163, allocations: 217.1 kB / 23.01 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.061/3.061, allocations: 0.49 GB / 0.7958 GB, free: 35.42 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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.sta_a1.X.1.|hex.sta_b1.X.1.|hex.sta_a2.X.1.|hex.sta_b2.X.1.|hex.dp1|hex.dp2|hex.mWat1_flow|hex.mWat2_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.sta_a1.X.1.|hex.sta_b1.X.1.|hex.sta_a2.X.1.|hex.sta_b2.X.1.|hex.dp1|hex.dp2|hex.mWat1_flow|hex.mWat2_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.301e-05, allocations: 4.531 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.232/0.232, allocations: 190 MB / 1.341 GB, free: 2.805 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01108/0.2431, allocations: 6.619 MB / 1.347 GB, free: 12.17 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/0.2448, allocations: 63.44 kB / 1.347 GB, free: 12.11 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002012/0.2468, allocations: 0.7688 MB / 1.348 GB, free: 11.34 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006405/0.2532, allocations: 2.604 MB / 1.35 GB, free: 8.723 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003003/0.2562, allocations: 1.201 MB / 1.352 GB, free: 7.531 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004941/0.2611, allocations: 3.703 MB / 1.355 GB, free: 3.816 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001795/0.2629, allocations: 1.057 MB / 1.356 GB, free: 2.738 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005802/0.2687, allocations: 2.667 MB / 1.359 GB, free: 64 kB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002645/0.2714, allocations: 1.038 MB / 1.36 GB, free: 15.03 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.00026/0.2716, allocations: 119.9 kB / 1.36 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004006/0.2756, allocations: 1.952 MB / 1.362 GB, free: 12.95 MB / 1.061 GB Notification: Performance of combineBinaries: time 0.002853/0.2785, allocations: 2.978 MB / 1.365 GB, free: 9.949 MB / 1.061 GB Notification: Performance of replaceArrayConstructors: time 0.001518/0.28, allocations: 1.844 MB / 1.366 GB, free: 8.086 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003395/0.2803, allocations: 120 kB / 1.367 GB, free: 7.969 MB / 1.061 GB Notification: Performance of FrontEnd: time 0.0002909/0.2806, allocations: 47.78 kB / 1.367 GB, free: 7.922 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 (181) * Number of variables: 209 (197) Notification: Performance of [SIM] Bindings: time 0.007056/0.2877, allocations: 6.852 MB / 1.373 GB, free: 0.8594 MB / 1.061 GB Notification: Performance of [SIM] FunctionAlias: time 0.000677/0.2884, allocations: 0.6319 MB / 1.374 GB, free: 212 kB / 1.061 GB Notification: Performance of [SIM] Early Inline: time 0.006748/0.2951, allocations: 6.292 MB / 1.38 GB, free: 9.902 MB / 1.076 GB Notification: Performance of [SIM] Simplify 1: time 0.002116/0.2972, allocations: 0.9316 MB / 1.381 GB, free: 8.93 MB / 1.076 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.00757/0.3048, allocations: 4.804 MB / 1.386 GB, free: 3.789 MB / 1.076 GB Notification: Performance of [SIM] Simplify 2: time 0.001195/0.306, allocations: 0.8103 MB / 1.387 GB, free: 2.953 MB / 1.076 GB Notification: Performance of [SIM] Remove Stream: time 0.0004263/0.3064, allocations: 367.9 kB / 1.387 GB, free: 2.566 MB / 1.076 GB Notification: Performance of [SIM] Detect States: time 0.0008372/0.3073, allocations: 0.8357 MB / 1.388 GB, free: 1.676 MB / 1.076 GB Notification: Performance of [SIM] Events: time 0.0006776/0.3079, allocations: 0.4939 MB / 1.388 GB, free: 1.168 MB / 1.076 GB Notification: Performance of [SIM] Partitioning: time 0.001562/0.3095, allocations: 1.439 MB / 1.39 GB, free: 15.69 MB / 1.092 GB Notification: Performance of [SIM] Causalize: time 0.004228/0.3137, allocations: 2.988 MB / 1.392 GB, free: 12.65 MB / 1.092 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003151/0.3169, allocations: 3.205 MB / 1.396 GB, free: 9.445 MB / 1.092 GB Notification: Performance of [INI] Simplify: time 0.003288/0.3202, allocations: 1.974 MB / 1.398 GB, free: 7.371 MB / 1.092 GB Notification: Performance of [INI] Inline: time 0.005743/0.3259, allocations: 5.954 MB / 1.403 GB, free: 1.402 MB / 1.092 GB Notification: Performance of [INI] Partitioning: time 0.0001544/0.3261, allocations: 60.06 kB / 1.403 GB, free: 1.332 MB / 1.092 GB Notification: Performance of [INI] Cleanup: time 0.001219/0.3273, allocations: 1.089 MB / 1.404 GB, free: 236 kB / 1.092 GB Notification: Performance of [INI] Causalize: time 0.01351/0.3408, allocations: 8.918 MB / 1.413 GB, free: 7.184 MB / 1.107 GB Notification: Performance of [INI] Tearing: time 0.0001806/0.341, allocations: 180.1 kB / 1.413 GB, free: 7.008 MB / 1.107 GB Notification: Performance of [SIM] Initialization: time 2.865e-06/0.341, allocations: 0 / 1.413 GB, free: 7.008 MB / 1.107 GB Notification: Performance of [SIM] Remove Dummies: time 4.264e-05/0.341, allocations: 5 kB / 1.413 GB, free: 7.004 MB / 1.107 GB Notification: Performance of [SIM] Tearing: time 5.586e-05/0.3411, allocations: 64 kB / 1.413 GB, free: 6.941 MB / 1.107 GB Notification: Performance of [SIM] Categorize: time 5.492e-05/0.3411, allocations: 4 kB / 1.413 GB, free: 6.938 MB / 1.107 GB Notification: Performance of [SIM] Solve: time 0.0103/0.3514, allocations: 7.592 MB / 1.421 GB, free: 15.36 MB / 1.123 GB Notification: Performance of [SIM] Jacobian: time 0.0003791/0.3518, allocations: 412.4 kB / 1.421 GB, free: 14.86 MB / 1.123 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * 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: ................. 31 (31) {$SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $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, $TEV_5, $TEV_4, $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: ........... 113 (scalar:103, array:10, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:8) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 169 (scalar:151, array:18, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:8) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 171 (scalar:153, array:18, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:8) * 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.0001645/0.352, allocations: 89.89 kB / 1.421 GB, free: 14.78 MB / 1.123 GB Notification: Performance of SimCode: time 0.0113/0.3633, allocations: 6.353 MB / 1.428 GB, free: 8.328 MB / 1.123 GB Notification: Performance of Templates: time 0.03656/0.3998, allocations: 22.54 MB / 1.45 GB, free: 1.887 MB / 1.139 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_12_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_12_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_12_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,hex.m1_flow,hex.m2_flow,hex.sta_a1.X[1],hex.sta_b1.X[1],hex.sta_a2.X[1],hex.sta_b2.X[1],hex.dp1,hex.dp2,hex.mWat1_flow,hex.mWat2_flow Variables in the result:PIn.duration,PIn.height,PIn.offset,PIn.startTime,POut.k,POut.y,PSin_1.duration,PSin_1.height,PSin_1.offset,PSin_1.startTime,TDb.k,TDb.y,TWat.duration,TWat.height,TWat.offset,TWat.startTime,hex.CMin_flow_small,hex.allowFlowReversal1,hex.allowFlowReversal2,hex.bal1._dp_start,hex.bal1._m_flow_start,hex.bal1.allowFlowReversal,hex.bal1.computeFlowResistance,hex.bal1.deltaM,hex.bal1.dp_nominal,hex.bal1.from_dp,hex.bal1.linearizeFlowResistance,hex.bal1.m_flow_nominal,hex.bal1.m_flow_small,hex.bal1.preDro._dp_start,hex.bal1.preDro._m_flow_start,hex.bal1.preDro.allowFlowReversal,hex.bal1.preDro.coeff,hex.bal1.preDro.computeFlowResistance,hex.bal1.preDro.deltaM,hex.bal1.preDro.disableComputeFlowResistance_internal,hex.bal1.preDro.dp_nominal,hex.bal1.preDro.dp_nominal_pos,hex.bal1.preDro.eta_default,hex.bal1.preDro.from_dp,hex.bal1.preDro.k,hex.bal1.preDro.linearized,hex.bal1.preDro.m_flow_nominal,hex.bal1.preDro.m_flow_nominal_pos,hex.bal1.preDro.m_flow_small,hex.bal1.preDro.m_flow_turbulent,hex.bal1.preDro.sta_default.T,hex.bal1.preDro.sta_default.X[1],hex.bal1.preDro.sta_default.X[2],hex.bal1.preDro.sta_default.p,hex.bal1.vol._dp_start,hex.bal1.vol._m_flow_start,hex.bal1.vol.aReg,hex.bal1.vol.allowFlowReversal,hex.bal1.vol.bReg,hex.bal1.vol.cReg,hex.bal1.vol.cp_default,hex.bal1.vol.dReg,hex.bal1.vol.deltaInvReg,hex.bal1.vol.deltaReg,hex.bal1.vol.eReg,hex.bal1.vol.fReg,hex.bal1.vol.m_flow_nominal,hex.bal1.vol.m_flow_small,hex.bal1.vol.s[1],hex.bal1.vol.state_default.T,hex.bal1.vol.state_default.X[1],hex.bal1.vol.state_default.X[2],hex.bal1.vol.state_default.p,hex.bal1.vol.use_C_flow,hex.bal1.vol.use_mWat_flow,hex.bal1.vol.use_m_flowInv,hex.bal2._dp_start,hex.bal2._m_flow_start,hex.bal2.allowFlowReversal,hex.bal2.computeFlowResistance,hex.bal2.deltaM,hex.bal2.dp_nominal,hex.bal2.from_dp,hex.bal2.linearizeFlowResistance,hex.bal2.m_flow_nominal,hex.bal2.m_flow_small,hex.bal2.preDro._dp_start,hex.bal2.preDro._m_flow_start,hex.bal2.preDro.allowFlowReversal,hex.bal2.preDro.coeff,hex.bal2.preDro.computeFlowResistance,hex.bal2.preDro.deltaM,hex.bal2.preDro.disableComputeFlowResistance_internal,hex.bal2.preDro.dp_nominal,hex.bal2.preDro.dp_nominal_pos,hex.bal2.preDro.eta_default,hex.bal2.preDro.from_dp,hex.bal2.preDro.k,hex.bal2.preDro.linearized,hex.bal2.preDro.m_flow_nominal,hex.bal2.preDro.m_flow_nominal_pos,hex.bal2.preDro.m_flow_small,hex.bal2.preDro.m_flow_turbulent,hex.bal2.preDro.sta_default.T,hex.bal2.preDro.sta_default.X[1],hex.bal2.preDro.sta_default.X[2],hex.bal2.preDro.sta_default.p,hex.bal2.vol._dp_start,hex.bal2.vol._m_flow_start,hex.bal2.vol.aReg,hex.bal2.vol.allowFlowReversal,hex.bal2.vol.bReg,hex.bal2.vol.cReg,hex.bal2.vol.cp_default,hex.bal2.vol.dReg,hex.bal2.vol.deltaInvReg,hex.bal2.vol.deltaReg,hex.bal2.vol.eReg,hex.bal2.vol.fReg,hex.bal2.vol.m_flow_nominal,hex.bal2.vol.m_flow_small,hex.bal2.vol.s[1],hex.bal2.vol.state_default.T,hex.bal2.vol.state_default.X[1],hex.bal2.vol.state_default.X[2],hex.bal2.vol.state_default.p,hex.bal2.vol.use_C_flow,hex.bal2.vol.use_mWat_flow,hex.bal2.vol.use_m_flowInv,hex.computeFlowResistance1,hex.computeFlowResistance2,hex.cp1_default,hex.cp2_default,hex.delta,hex.deltaM1,hex.deltaM2,hex.dp1,hex.dp1_nominal,hex.dp2,hex.dp2_nominal,hex.epsL,hex.epsS,hex.from_dp1,hex.from_dp2,hex.i1_w,hex.i2_w,hex.linearizeFlowResistance1,hex.linearizeFlowResistance2,hex.m1_flow,hex.m1_flow_nominal,hex.m1_flow_small,hex.m2_flow,hex.m2_flow_nominal,hex.m2_flow_small,hex.mWat1_flow,hex.mWat2_flow,hex.sta_a1.X[1],hex.sta_a2.X[1],hex.sta_b1.X[1],hex.sta_b2.X[1],sin_1.T,sin_1.T_in_internal,sin_1.X[1],sin_1.X[2],sin_1.X_in_internal[1],sin_1.X_in_internal[2],sin_1.Xi_in_internal[1],sin_1.flowDirection,sin_1.nPorts,sin_1.p,sin_1.use_C_in,sin_1.use_T_in,sin_1.use_X_in,sin_1.use_Xi_in,sin_1.use_p_in,sin_1.verifyInputs,sin_2.T,sin_2.T_in_internal,sin_2.X[1],sin_2.X[2],sin_2.X_in_internal[1],sin_2.X_in_internal[2],sin_2.Xi_in_internal[1],sin_2.flowDirection,sin_2.nPorts,sin_2.p,sin_2.p_in,sin_2.p_in_internal,sin_2.use_C_in,sin_2.use_T_in,sin_2.use_X_in,sin_2.use_Xi_in,sin_2.use_p_in,sin_2.verifyInputs,sou_1.T,sou_1.X[1],sou_1.X[2],sou_1.X_in_internal[1],sou_1.X_in_internal[2],sou_1.Xi_in_internal[1],sou_1.flowDirection,sou_1.nPorts,sou_1.p,sou_1.p_in_internal,sou_1.use_C_in,sou_1.use_T_in,sou_1.use_X_in,sou_1.use_Xi_in,sou_1.use_p_in,sou_1.verifyInputs,sou_2.T,sou_2.T_in,sou_2.T_in_internal,sou_2.X[1],sou_2.X[2],sou_2.X_in_internal[1],sou_2.X_in_internal[2],sou_2.Xi_in_internal[1],sou_2.flowDirection,sou_2.nPorts,sou_2.p,sou_2.use_C_in,sou_2.use_T_in,sou_2.use_X_in,sou_2.use_Xi_in,sou_2.use_p_in,sou_2.verifyInputs,time [Calling sys.exit(0), Time elapsed: 9.350790760945529]