Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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.00144/0.00144, 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.001598/0.001598, allocations: 216.8 kB / 23.01 MB, free: 4.973 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.368/1.368, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.948/2.948, allocations: 0.49 GB / 0.7958 GB, free: 35.41 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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/1.828e-05, allocations: 4.812 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.2241/0.2241, allocations: 196 MB / 1.346 GB, free: 12.7 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00918/0.2333, allocations: 5.444 MB / 1.352 GB, free: 7.242 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.2343, allocations: 55.5 kB / 1.352 GB, free: 7.188 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.2357, allocations: 0.5553 MB / 1.352 GB, free: 6.629 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003875/0.2396, allocations: 1.696 MB / 1.354 GB, free: 4.926 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002951/0.2425, allocations: 1.234 MB / 1.355 GB, free: 3.699 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003741/0.2463, allocations: 3.117 MB / 1.358 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.2475, allocations: 0.8373 MB / 1.359 GB, free: 15.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.2501, allocations: 1.484 MB / 1.361 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001923/0.252, allocations: 0.9362 MB / 1.361 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001741/0.2522, allocations: 96 kB / 1.362 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002574/0.2547, allocations: 1.274 MB / 1.363 GB, free: 11.93 MB / 1.061 GB Notification: Performance of combineBinaries: time 0.002199/0.2569, allocations: 2.344 MB / 1.365 GB, free: 9.566 MB / 1.061 GB Notification: Performance of replaceArrayConstructors: time 0.001116/0.258, allocations: 1.456 MB / 1.367 GB, free: 8.098 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.2583, allocations: 100 kB / 1.367 GB, free: 8 MB / 1.061 GB Notification: Performance of FrontEnd: time 0.0002239/0.2585, allocations: 43.73 kB / 1.367 GB, free: 7.957 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: 189 (175) * Number of variables: 189 (162) Notification: Performance of [SIM] Bindings: time 0.005667/0.2641, allocations: 5.741 MB / 1.372 GB, free: 2.012 MB / 1.061 GB Notification: Performance of [SIM] FunctionAlias: time 0.0005987/0.2647, allocations: 0.5391 MB / 1.373 GB, free: 1.461 MB / 1.061 GB Notification: Performance of [SIM] Early Inline: time 0.003023/0.2678, allocations: 3.001 MB / 1.376 GB, free: 14.42 MB / 1.076 GB Notification: Performance of [SIM] Simplify 1: time 0.0008598/0.2686, allocations: 0.5487 MB / 1.376 GB, free: 13.79 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.005308/0.2739, allocations: 3.88 MB / 1.38 GB, free: 9.578 MB / 1.076 GB Notification: Performance of [SIM] Simplify 2: time 0.0006551/0.2746, allocations: 465.6 kB / 1.38 GB, free: 9.07 MB / 1.076 GB Notification: Performance of [SIM] Remove Stream: time 0.000327/0.2749, allocations: 287.9 kB / 1.381 GB, free: 8.762 MB / 1.076 GB Notification: Performance of [SIM] Detect States: time 0.0006273/0.2755, allocations: 0.5695 MB / 1.381 GB, free: 8.137 MB / 1.076 GB Notification: Performance of [SIM] Events: time 0.0003594/0.2759, allocations: 254.2 kB / 1.382 GB, free: 7.883 MB / 1.076 GB Notification: Performance of [SIM] Partitioning: time 0.0009477/0.2769, allocations: 0.8628 MB / 1.382 GB, free: 6.98 MB / 1.076 GB Notification: Performance of [SIM] Causalize: time 0.005168/0.282, allocations: 3.875 MB / 1.386 GB, free: 3.004 MB / 1.076 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001914/0.2839, allocations: 1.971 MB / 1.388 GB, free: 1.031 MB / 1.076 GB Notification: Performance of [INI] Simplify: time 0.002479/0.2864, allocations: 1.472 MB / 1.39 GB, free: 15.45 MB / 1.092 GB Notification: Performance of [INI] Inline: time 0.0035/0.2899, allocations: 3.623 MB / 1.393 GB, free: 11.82 MB / 1.092 GB Notification: Performance of [INI] Partitioning: time 0.0001183/0.29, allocations: 60.06 kB / 1.393 GB, free: 11.75 MB / 1.092 GB Notification: Performance of [INI] Cleanup: time 0.0004572/0.2905, allocations: 491.5 kB / 1.394 GB, free: 11.27 MB / 1.092 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) volDyn.dynBal.p_start = volDyn.p_start ($RES_BND_256); Notification: Performance of [INI] Causalize: time 0.00694/0.2974, allocations: 5.135 MB / 1.399 GB, free: 6.031 MB / 1.092 GB Notification: Performance of [INI] Tearing: time 6.275e-05/0.2975, allocations: 88 kB / 1.399 GB, free: 5.945 MB / 1.092 GB Notification: Performance of [SIM] Initialization: time 1.203e-06/0.2975, allocations: 1.219 kB / 1.399 GB, free: 5.945 MB / 1.092 GB Notification: Performance of [SIM] Remove Dummies: time 1.348e-05/0.2975, allocations: 1 kB / 1.399 GB, free: 5.945 MB / 1.092 GB Notification: Performance of [SIM] Tearing: time 3.736e-05/0.2975, allocations: 64 kB / 1.399 GB, free: 5.883 MB / 1.092 GB Notification: Performance of [SIM] Categorize: time 1.951e-05/0.2976, allocations: 11.94 kB / 1.399 GB, free: 5.871 MB / 1.092 GB Notification: Performance of [SIM] Solve: time 0.002481/0.3, allocations: 1.793 MB / 1.401 GB, free: 4.07 MB / 1.092 GB Notification: Performance of [SIM] Jacobian: time 0.001235/0.3013, allocations: 0.98 MB / 1.402 GB, free: 3.047 MB / 1.092 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * 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: ............................. 2 (2) {volDyn.U, volDyn.Xi} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 12 (12) {$SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 118 (scalar:106, array:12, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 6 (resizable: 6, 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: ........... 160 (scalar:142, array:18, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:2) * Number of for-loop strong components: ......... 6 (resizable: 6, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 7.671e-05/0.3014, allocations: 63.48 kB / 1.402 GB, free: 2.984 MB / 1.092 GB Notification: Performance of SimCode: time 0.008691/0.31, allocations: 6.483 MB / 1.408 GB, free: 12.4 MB / 1.107 GB Notification: Performance of Templates: time 0.02527/0.3353, allocations: 15.43 MB / 1.423 GB, free: 13.1 MB / 1.123 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.Xi[1],volSte.Xi[1] Variables in the result:bou.T,bou.T_in_internal,bou.X[1],bou.X[2],bou.X_in_internal[1],bou.X_in_internal[2],bou.Xi_in_internal[1],bou.flowDirection,bou.nPorts,bou.p,bou.p_in_internal,bou.use_C_in,bou.use_T_in,bou.use_X_in,bou.use_Xi_in,bou.use_p_in,bou.verifyInputs,dp_nominal,gain.k,gain.y,m_flow.duration,m_flow.height,m_flow.offset,m_flow.startTime,m_flow_nominal,sou.T,sou.T_in_internal,sou.X[1],sou.X[2],sou.X_in_internal[1],sou.X_in_internal[2],sou.flowDirection,sou.m_flow,sou.medium.T,sou.medium.T_degC,sou.medium.dT,sou.medium.preferredMediumStates,sou.medium.standardOrderComponents,sou.nPorts,sou1.T,sou1.T_in_internal,sou1.X[1],sou1.X[2],sou1.X_in_internal[1],sou1.X_in_internal[2],sou1.flowDirection,sou1.m_flow,sou1.medium.T,sou1.medium.T_degC,sou1.medium.dT,sou1.medium.preferredMediumStates,sou1.medium.standardOrderComponents,sou1.nPorts,time,volDyn.T_start,volDyn.V,volDyn.X_start[1],volDyn.X_start[2],volDyn.Xi[1],volDyn.allowFlowReversal,volDyn.dynBal.CSen,volDyn.dynBal.Q_flow,volDyn.dynBal.T_start,volDyn.dynBal.X_start[1],volDyn.dynBal.X_start[2],volDyn.dynBal.computeCSen,volDyn.dynBal.cp_default,volDyn.dynBal.energyDynamics,volDyn.dynBal.fluidVolume,volDyn.dynBal.hStart,volDyn.dynBal.mSenFac,volDyn.dynBal.massDynamics,volDyn.dynBal.medium.preferredMediumStates,volDyn.dynBal.medium.standardOrderComponents,volDyn.dynBal.nPorts,volDyn.dynBal.p_start,volDyn.dynBal.rho_default,volDyn.dynBal.rho_start,volDyn.dynBal.s[1],volDyn.dynBal.state_default.T,volDyn.dynBal.state_default.X[1],volDyn.dynBal.state_default.X[2],volDyn.dynBal.state_default.p,volDyn.dynBal.substanceDynamics,volDyn.dynBal.traceDynamics,volDyn.dynBal.use_C_flow,volDyn.dynBal.use_mWat_flow,volDyn.dynBal.wrongEnergyMassBalanceConfiguration,volDyn.energyDynamics,volDyn.heaFloSen.Q_flow,volDyn.heaFloSen.port_a.Q_flow,volDyn.heaFloSen.port_b.Q_flow,volDyn.heatPort.Q_flow,volDyn.mSenFac,volDyn.mWat_flow,volDyn.m_flow_nominal,volDyn.m_flow_small,volDyn.massDynamics,volDyn.nPorts,volDyn.p_start,volDyn.ports[1].m_flow,volDyn.preTem.port.Q_flow,volDyn.rho_default,volDyn.rho_start,volDyn.s[1],volDyn.state_default.T,volDyn.state_default.X[1],volDyn.state_default.X[2],volDyn.state_default.p,volDyn.state_start.T,volDyn.state_start.X[1],volDyn.state_start.X[2],volDyn.state_start.p,volDyn.substanceDynamics,volDyn.traceDynamics,volDyn.useSteadyStateTwoPort,volDyn.use_C_flow,volDyn.wrongEnergyMassBalanceConfiguration,volSte.T_start,volSte.U,volSte.V,volSte.X_start[1],volSte.X_start[2],volSte.Xi[1],volSte.allowFlowReversal,volSte.energyDynamics,volSte.heaFloSen.Q_flow,volSte.heaFloSen.port_a.Q_flow,volSte.heaFloSen.port_b.Q_flow,volSte.heatPort.Q_flow,volSte.m,volSte.mSenFac,volSte.m_flow_nominal,volSte.m_flow_small,volSte.massDynamics,volSte.nPorts,volSte.p_start,volSte.preTem.port.Q_flow,volSte.rho_default,volSte.rho_start,volSte.s[1],volSte.state_default.T,volSte.state_default.X[1],volSte.state_default.X[2],volSte.state_default.p,volSte.state_start.T,volSte.state_start.X[1],volSte.state_start.X[2],volSte.state_start.p,volSte.steBal.Q_flow,volSte.steBal._dp_start,volSte.steBal._m_flow_start,volSte.steBal.aReg,volSte.steBal.allowFlowReversal,volSte.steBal.bReg,volSte.steBal.cReg,volSte.steBal.cp_default,volSte.steBal.dReg,volSte.steBal.deltaInvReg,volSte.steBal.deltaReg,volSte.steBal.eReg,volSte.steBal.fReg,volSte.steBal.m_flow_nominal,volSte.steBal.m_flow_small,volSte.steBal.s[1],volSte.steBal.state_default.T,volSte.steBal.state_default.X[1],volSte.steBal.state_default.X[2],volSte.steBal.state_default.p,volSte.steBal.use_C_flow,volSte.steBal.use_mWat_flow,volSte.steBal.use_m_flowInv,volSte.substanceDynamics,volSte.traceDynamics,volSte.useSteadyStateTwoPort,volSte.use_C_flow,volSte.wrongEnergyMassBalanceConfiguration [Calling sys.exit(0), Time elapsed: 8.66670996695757]