Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.001485/0.001485, 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.002219/0.002219, allocations: 209.7 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.377/1.377, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.938/2.938, allocations: 0.49 GB / 0.7958 GB, free: 35.5 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.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.779e-05, allocations: 7.625 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2109/0.2109, allocations: 165.6 MB / 1.317 GB, free: 11.2 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02135/0.2323, allocations: 12.02 MB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001318/0.2336, allocations: 47.56 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.2353, allocations: 425.2 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00396/0.2392, allocations: 1.206 MB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002297/0.2415, allocations: 0.7343 MB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004042/0.2456, allocations: 2.495 MB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/0.2472, allocations: 0.7322 MB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005455/0.2527, allocations: 2.18 MB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002032/0.2547, allocations: 0.7028 MB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002579/0.2549, allocations: 80 kB / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.2568, allocations: 0.6974 MB / 1.338 GB, free: 5.816 MB / 1.029 GB Notification: Performance of combineBinaries: time 0.002575/0.2593, allocations: 2.099 MB / 1.34 GB, free: 3.699 MB / 1.029 GB Notification: Performance of replaceArrayConstructors: time 0.001582/0.2609, allocations: 1.355 MB / 1.341 GB, free: 2.332 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00045/0.2614, allocations: 92 kB / 1.341 GB, free: 2.242 MB / 1.029 GB Notification: Performance of FrontEnd: time 0.000315/0.2617, allocations: 43.67 kB / 1.341 GB, free: 2.199 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 (177) * Number of variables: 186 (169) Notification: Performance of [SIM] Bindings: time 0.006644/0.2683, allocations: 4.985 MB / 1.346 GB, free: 13.02 MB / 1.045 GB Notification: Performance of [SIM] FunctionAlias: time 0.0006545/0.269, allocations: 0.5347 MB / 1.347 GB, free: 12.45 MB / 1.045 GB Notification: Performance of [SIM] Early Inline: time 0.002704/0.2717, allocations: 2.276 MB / 1.349 GB, free: 10.14 MB / 1.045 GB Notification: Performance of [SIM] Simplify 1: time 0.0007333/0.2724, allocations: 423.5 kB / 1.349 GB, free: 9.648 MB / 1.045 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.005724/0.2781, allocations: 3.682 MB / 1.353 GB, free: 5.504 MB / 1.045 GB Notification: Performance of [SIM] Simplify 2: time 0.0005342/0.2787, allocations: 316.5 kB / 1.353 GB, free: 5.148 MB / 1.045 GB Notification: Performance of [SIM] Remove Stream: time 0.0003147/0.279, allocations: 200.1 kB / 1.353 GB, free: 4.926 MB / 1.045 GB Notification: Performance of [SIM] Detect States: time 0.00058/0.2796, allocations: 457.1 kB / 1.354 GB, free: 4.41 MB / 1.045 GB Notification: Performance of [SIM] Events: time 0.0001248/0.2797, allocations: 63.95 kB / 1.354 GB, free: 4.348 MB / 1.045 GB Notification: Performance of [SIM] Partitioning: time 0.000874/0.2806, allocations: 0.6958 MB / 1.354 GB, free: 3.559 MB / 1.045 GB Notification: Performance of [SIM] Causalize: time 0.004756/0.2853, allocations: 3.31 MB / 1.358 GB, free: 116 kB / 1.045 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001486/0.2868, allocations: 1.327 MB / 1.359 GB, free: 14.79 MB / 1.061 GB Notification: Performance of [INI] Simplify: time 0.002359/0.2892, allocations: 1.111 MB / 1.36 GB, free: 13.56 MB / 1.061 GB Notification: Performance of [INI] Inline: time 0.002732/0.2919, allocations: 2.46 MB / 1.362 GB, free: 11.09 MB / 1.061 GB Notification: Performance of [INI] Partitioning: time 0.0001139/0.292, allocations: 56.05 kB / 1.362 GB, free: 11.02 MB / 1.061 GB Notification: Performance of [INI] Cleanup: time 0.0004382/0.2924, allocations: 331.7 kB / 1.363 GB, free: 10.7 MB / 1.061 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) vol.dynBal.p_start = vol.p_start ($RES_BND_247); Notification: Performance of [INI] Causalize: time 0.006045/0.2985, allocations: 4.071 MB / 1.367 GB, free: 6.527 MB / 1.061 GB Notification: Performance of [INI] Tearing: time 6.838e-05/0.2986, allocations: 76 kB / 1.367 GB, free: 6.453 MB / 1.061 GB Notification: Performance of [SIM] Initialization: time 1.734e-06/0.2986, allocations: 4 kB / 1.367 GB, free: 6.449 MB / 1.061 GB Notification: Performance of [SIM] Remove Dummies: time 2.224e-05/0.2986, allocations: 1 kB / 1.367 GB, free: 6.445 MB / 1.061 GB Notification: Performance of [SIM] Tearing: time 4.405e-05/0.2986, allocations: 60.59 kB / 1.367 GB, free: 6.387 MB / 1.061 GB Notification: Performance of [SIM] Categorize: time 3.641e-05/0.2987, allocations: 7.984 kB / 1.367 GB, free: 6.379 MB / 1.061 GB Notification: Performance of [SIM] Solve: time 0.001811/0.3005, allocations: 1.124 MB / 1.368 GB, free: 5.246 MB / 1.061 GB Notification: Performance of [SIM] Jacobian: time 0.00106/0.3015, allocations: 0.7871 MB / 1.369 GB, free: 4.426 MB / 1.061 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 11 * Number of ODE event partitions: ............... 1 * 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: ............................. 5 (5) {vol.U, vol.Xi, vol.mC, intTraSubIn.y, intTraSubOut.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (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: ........... 107 (scalar:98, array:9, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3, 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: ........... 143 (scalar:123, array:20, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:1) * Number of for-loop strong components: ......... 3 (resizable: 3, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001138/0.3016, allocations: 73.03 kB / 1.369 GB, free: 4.363 MB / 1.061 GB Notification: Performance of SimCode: time 0.008132/0.3098, allocations: 5.175 MB / 1.374 GB, free: 15.09 MB / 1.076 GB Notification: Performance of Templates: time 0.019/0.3288, allocations: 10.14 MB / 1.384 GB, free: 5.008 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,senTraSubIn.C,senTraSubOut.C,cheConMas.y Variables in the result:add3.k1,add3.k2,add3.k3,cheConMas.k1,cheConMas.k2,cheConMas.u2,cheConMas.y,intTraSubIn.initType,intTraSubIn.k,intTraSubIn.y_start,intTraSubOut.initType,intTraSubOut.k,intTraSubOut.y_start,mWatFlo.k,mWatFlo.y,senMasFloIn.allowFlowReversal,senMasFloIn.m_flow_nominal,senMasFloIn.m_flow_small,senMasFloIn.port_a.h_outflow,senMasFloOut.allowFlowReversal,senMasFloOut.m_flow_nominal,senMasFloOut.m_flow_small,senMasFloOut.port_a.h_outflow,senTraSubIn.C,senTraSubIn.CMed,senTraSubIn.C_start,senTraSubIn.allowFlowReversal,senTraSubIn.dynamic,senTraSubIn.initType,senTraSubIn.k,senTraSubIn.mNor_flow,senTraSubIn.m_flow_nominal,senTraSubIn.m_flow_small,senTraSubIn.port_a.h_outflow,senTraSubIn.s[1],senTraSubIn.tau,senTraSubIn.tauInv,senTraSubOut.C,senTraSubOut.CMed,senTraSubOut.C_start,senTraSubOut.allowFlowReversal,senTraSubOut.dynamic,senTraSubOut.initType,senTraSubOut.k,senTraSubOut.mNor_flow,senTraSubOut.m_flow_nominal,senTraSubOut.m_flow_small,senTraSubOut.port_a.h_outflow,senTraSubOut.s[1],senTraSubOut.tau,senTraSubOut.tauInv,sin.C[1],sin.C_in_internal[1],sin.T,sin.T_in_internal,sin.X[1],sin.X[2],sin.X_in_internal[1],sin.X_in_internal[2],sin.Xi_in_internal[1],sin.flowDirection,sin.nPorts,sin.p,sin.p_in_internal,sin.use_C_in,sin.use_T_in,sin.use_X_in,sin.use_Xi_in,sin.use_p_in,sin.verifyInputs,sou.C[1],sou.C_in_internal[1],sou.X[1],sou.X[2],sou.X_in_internal[1],sou.X_in_internal[2],sou.Xi_in_internal[1],sou.flowDirection,sou.h,sou.h_in_internal,sou.m_flow,sou.m_flow_in_internal,sou.nPorts,sou.use_C_in,sou.use_X_in,sou.use_Xi_in,sou.use_h_in,sou.use_m_flow_in,sou.verifyInputs,time,vol.C_nominal[1],vol.C_start[1],vol.T_start,vol.V,vol.X_start[1],vol.X_start[2],vol.allowFlowReversal,vol.dynBal.CSen,vol.dynBal.C_nominal[1],vol.dynBal.C_start[1],vol.dynBal.Q_flow,vol.dynBal.T_start,vol.dynBal.X_start[1],vol.dynBal.X_start[2],vol.dynBal.computeCSen,vol.dynBal.cp_default,vol.dynBal.energyDynamics,vol.dynBal.fluidVolume,vol.dynBal.hStart,vol.dynBal.mSenFac,vol.dynBal.mWat_flow,vol.dynBal.mWat_flow_internal,vol.dynBal.massDynamics,vol.dynBal.medium.preferredMediumStates,vol.dynBal.medium.standardOrderComponents,vol.dynBal.nPorts,vol.dynBal.p_start,vol.dynBal.rho_default,vol.dynBal.rho_start,vol.dynBal.s[1],vol.dynBal.state_default.T,vol.dynBal.state_default.X[1],vol.dynBal.state_default.X[2],vol.dynBal.state_default.p,vol.dynBal.substanceDynamics,vol.dynBal.traceDynamics,vol.dynBal.use_C_flow,vol.dynBal.use_mWat_flow,vol.dynBal.wrongEnergyMassBalanceConfiguration,vol.energyDynamics,vol.heaFloSen.Q_flow,vol.heaFloSen.port_a.Q_flow,vol.heaFloSen.port_b.Q_flow,vol.heatPort.Q_flow,vol.mSenFac,vol.mWat_flow,vol.m_flow_nominal,vol.m_flow_small,vol.massDynamics,vol.nPorts,vol.p_start,vol.preTem.port.Q_flow,vol.rho_default,vol.rho_start,vol.s[1],vol.state_default.T,vol.state_default.X[1],vol.state_default.X[2],vol.state_default.p,vol.state_start.T,vol.state_start.X[1],vol.state_start.X[2],vol.state_start.p,vol.substanceDynamics,vol.traceDynamics,vol.useSteadyStateTwoPort,vol.use_C_flow,vol.wrongEnergyMassBalanceConfiguration,zero.k,zero.y [Calling sys.exit(0), Time elapsed: 8.437339268159121]